Редактиране

Споделяне чрез


AdditionalSearchTermsML Property

Version: Available or changed with runtime version 3.0.

Specifies search terms (words and phrases) for the page in different languages. In addition to the page caption, the terms are used by the search feature in the Web client and mobile apps. Separate terms with a comma.

Applies to

  • Page
  • Report

Property Values

Value Description
<language ID> The standard Windows three-letter language ID, such as ENU or DAN. Separate each language by a comma.
<term> The search word or phrase, which can consist of letters, numbers and special characters. Separate each term by a comma.

Syntax

AdditionalSearchTermsML = <language ID> = '<term>[,<term>]'[, <language ID> = '<term>[,<term>]'];

Remarks

For Business Central on-premises, the Business Central Web Server configuration file (navsettings.json) includes a setting called UseAdditionalSearchTerms that enables or disables the use of additional search terms by the Tell me. For more information, see Configuring Business Central Web Server Instances.

Dependent Properties

The UsageCategory property must be set to a value other than None in order for the page to be searchable by Tell me.

Example

The following code snippet uses the AdditionalSearchTermsML property to add search terms in English and Danish to a list page whose caption is Items.

page 50101 SearchTestML
{
    PageType = List;
    ApplicationArea = All;
    SourceTable = Item;
    UsageCategory = Lists;
    CaptionMl = ENU = 'Items', DAN ='Varer';
    AdditionalSearchTermsML = ENU = 'product, merchandise', DAN = 'produkter';
    ...
}

Add pages and reports to Tell me
Properties
Page Object
Report Object