Mobile applications that integrate with Microsoft Dynamics NAV can include fields where the possible values are option strings. These option strings contain text strings that can display on a mobile device in various languages. To ensure that the option strings display correctly on the mobile device, you must first define which languages are available for the application and then specify the preferred language for each user. For more information, see How to: Set Up Languages for Mobile Users in NAV Classic, and How to: Set Up Mobile Users in Microsoft Dynamics NAV Classic. Then, you need to specify which tables containing options fields are used in the mobile applications to ensure that the field values contain the correct translation. If the option field does not include a translation for a selected language, the default language is English (United States). The following procedures describe how to set up the option field usage for translations and how you can view the translated option strings to verify the option field usage setup.

To set up option field usage for mobile users

  1. In the navigation pane, click Administration, click Application Setup, click Mobile, and then click Option Field Setup.

  2. In the Mobile Option Field Setup window, in the Table No. field, click the AssistButton. In the Objects list, select the table that your mobile application uses and that contains option fields, and then click OK. For example, the Item table.

  3. In the Mobile Option Field Setup window, in the row for the table that you selected in the previous step, in the Field No. field, click the AssistButton. In the Mobile Field List window, select the field that your mobile application uses. For example, the Costing Method field.

    The Mobile Option Field Setup window now contains the following information:

    Field Value

    Table No.

    The object ID of the table, such as 27.

    Table Name

    The name of the table, such as Item.

    Field No.

    The ID of the option field, such as 21.

    Field Name

    The name of the option field, such as Costing Method.

    Option String

    The values for the option field, such as FIFO, LIFO, Specific, Average, Standard.

  4. Repeat steps 2 and 3 for any option fields that you want to define.

This completes the steps for setting up option field usage for the mobile application. If you have set up option field languages and you have specified a language for each mobile user, the mobile user will now see options strings in the specified language.

The following procedure describes how you can view the translated strings for the option fields to verify that the option string usage has been set up correctly.

To view the translated strings for an option field

  1. In the navigation pane, click Administration, click Application Setup, click Mobile, and then click Option Field Setup.

  2. In the Mobile Option Field Setup window, click a row, click Field, and then click Translations.

    The Mobile Option Fld. Cptn. List window lists the translation for each option field value in the languages that you specified in the Mobile Languages window. If the option field does not include a translation for a selected language, the default language is English (United States). For more information, see How to: Set Up Languages for Mobile Users in NAV Classic.

    NoteNote

    The strings only display in the specified language if you have translated strings in that language. For example, if your company is located in Spain, you have access to strings in English (United States) and Spanish. If you want your mobile users to have access to strings in Portuguese as well, you must add a language module with the strings translated into Portuguese.

See Also