Compartir a través de


Add AOT queries to the Search configuration

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 add a new query for the Microsoft Dynamics AX Application Object Tree (AOT) to the Search configuration. After you add one or more queries to the Search configuration, you can publish the configuration so that the underlying database tables are indexed for Search.

Before you begin

Before you configure AOT queries for Search, read Enterprise Search security and protection to learn about restrictions for certain kinds of queries and database tables.

  1. In the AOT, expand the Queries node.

  2. Select a query to add to the Search configuration.

  3. In the Properties pane, click Searchable, and then click Yes in the list.

  4. Right-click the query, click Add-ins, and then click Check best practices. Verify that there are no best practice errors. If there are errors, the query might not be configurable for Search. Review the errors to learn more.

  5. After you have configured queries for Search, update caches so that the changes are available in the Search Configuration Wizard. In the AOT, click the Tools menu, click Caches, and then click Refresh elements.

Update the Search Crawler role

When you install Enterprise Search, the domain account that is assigned the Search Crawler role in Microsoft Dynamics AX is configured to have read-only permissions for queries that are configured for Search. When you configure new queries for Search, you must reset the permissions of the Search Crawler role to read-only for all searchable entities.

  1. Click System administration > Setup > Search > Update search crawler role.

  2. Click OK.

Next steps

The queries that you configured for Search are now ready to be published to the SharePoint Business Data Connectivity service. To publish the queries, you use the Search Configuration Wizard. After the queries are published to SharePoint, they are indexed, so that users can view results when they search in the Microsoft Dynamics AX client or Enterprise Portal for Microsoft Dynamics AX. For information about how to publish queries to SharePoint, see Configure Enterprise Search by using the Search Configuration wizard.

See also

Import Search configurations to an AOS