Task 1.6: Create a result type (OPTIONAL)
Result types are used to customize the search results in Microsoft SharePoint, Microsoft Office, and Microsoft Search in Bing.
-
After the connector has finished being created, under Required actions, select Create Result type.
If the link isn’t available, select Refresh. -
In the New result type window, in the Name box, enter File Server and then select Next.
-
On the Select a content source page, under Content sources, select FileConnectorContoso and then select Next.
-
On the Set rules for the result type page, review the available options and then select Next.
-
On the Design your layout page, scroll down and review the Available properties.
-
Select Launch Layout Designer.
-
On the new tab, review the available templates.
-
At the bottom of the page, select Contoso Solutions and then select Get Started.
-
On the Map Properties pane, under Title in the Property box, enter fileServerName.
-
In the Preview text box, enter the name of your file server.
-
Under titleLink, in the Property box, enter location.
-
In the Preview text box, enter **\<your file server\
**. -
Under description, in the Property box, enter description.
-
In the Preview text box, enter File Server Results.
-
At the bottom-center of the page, select Create layout.
-
In the Layout JSON Copied dialog box, select Okay.
-
Switch to the User Details Panel tab.
-
On the Design your layout page, paste the copied JSON into the Paste the JSON script that you created with Layout Designer box.
-
Review the message to validate the JSON and then select Next.
-
On the Review the result type settings page, review the settings and then select Add result type.
-
On the Your result type is added page, select Done.