Configure Enterprise Search by using the Search Configuration wizard

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

This topic describes how to configure Microsoft Dynamics AX Enterprise Search by using the Search Configuration Wizard.

You must complete the following tasks before you can configure Enterprise Search by using the Search Configuration Wizard:

  1. Deploy Enterprise Search. For more information, see Install Microsoft Dynamics AX Enterprise Search.

  2. In the Queries node of the Application Object Tree (AOT), designate the queries that are available in search results by setting the Searchable property to True. For more information, see Add AOT queries to the Search configuration

The Search Configuration Wizard helps you publish Microsoft Dynamics AX queries to the Microsoft SharePoint Business Data Connectivity Service (BCS). The wizard lists the queries that passed all checks for best practices, and for which the Searchable property is set to True. You can select which queries and table fields you want to publish to the BCS. After you complete the wizard, the queries are published to the BCS, so that SharePoint can crawl the selected tables in the Microsoft Dynamics AX database. After the crawl is completed, users can view search results either in the Microsoft Dynamics AX 32-bit client or in Enterprise Portal.

Note

You can run the Search Configuration Wizard on a server where Enterprise Search is installed from the Microsoft Dynamics AX client or by double-clicking AXSearchSetup.exe in the following directory: %systemdrive%\Program Files\Microsoft Dynamics AX\60\SetupSupport.

  1. Click System administration > Setup > Search > Search configuration.

  2. Complete the wizard. Microsoft Dynamics AX informs you that the queries were successfully published to the BCS.

If one or more queries were not published to the BCS, an error message is displayed. Review the log file at the following location: %systemdrive%\ProgramData\Microsoft\Dynamics AX\Dynamics AX Setup Logs\.

After the queries are published to the BCS, you can view the list of queries and the status of the database crawl in SharePoint Central Administration.

  1. Click Start, and then click SharePoint Central Administration.

  2. Under Application Management, click Manage service applications, and then click Search Service Application.

  3. In the left pane, under Crawling, click Content Sources.

  4. To view the details, click either the content source for Microsoft Dynamics AX or the content source for Microsoft Dynamics AX metadata.

Important

By default, SharePoint schedules incremental crawls of the Microsoft Dynamics AX database. The incremental crawl only updates records if a parent table is modified. To ensure that the crawler updates records from joined tables, you should periodically perform a full crawl of the database.

See also

Enterprise Search operations