Enabling the Generation of the Data Mappings File

The generation of the data mappings file is controlled by the project-level and workspace preferences.

If the generation is enabled and you remove or edit the data mappings file, the Form Designer regenerates it when the project or form is built. The corresponding *.mappings.properties.json file is deployed along with other form resources.

Note: If you change the 'Generate a form mappings file' preference, the 'Internal resource references are incorrect' problem marker occurs on all the forms. You can fix it by using the Quick Fix context menu and by selecting 'Configure internal resource references' on the Quick Fix popup.

Procedure

  1. In the Project Explorer, right-click the project, and select Properties. Or click the Project menu, and select Properties.

    The Properties dialog for the project name opens.

  2. In the left pane, click the Form Designer arrow to expand it, and select Resources.
  3. Select Enable project specific settings.
  4. Select Generate a form mappings file.

    The check box is cleared by default.

  5. Click Apply, and in the ensuing Rebuild? dialog, click Yes.
    Note: You can also enable the generation of the Data Mappings file at the workspace level. Clicking Window > Preferences opens the Preferences dialog, in which, Resources is displayed in the expanded Form Designer. In the Resources pane, the Generate a form mappings file check box is available.