Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is an option that can be activated on header controls. It enables the control to do a an online query.

Step-by-step guide

Overview of how you use it:

  1. Specify "searchType"  on the control - you want it on.
  2. In "GetReferenceData" add a header for the search page. It must be named searchType value plus "HeaderConf".
    Example: if searchType is "ItemSearch" the header must be "ItemSearchHeaderConf".
  3. The documenttype "Search" must be enabled and the case for "searchType" must be implemented.
    (If it is the first online search - verify the user has access rights to documenttype "Search")

Service controlling the online search

This section in the app.config file - controls the documenttype to called in AX/NAV.
The "ISearchService" service is by default enabled and set to documenttype "Search" (line 10).

...