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
- 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.
- In the left pane, click the Form Designer arrow to expand it, and select Resources.
- Select Enable project specific settings.
- Select
Generate a form mappings file.
The check box is cleared by default.
- Click
Apply, and in the ensuing
Rebuild? dialog box, click
Yes.
Note: You can also enable the generation of the Data Mappings file at the workspace level. Clicking opens the Preferences dialog box, in which, Resources is displayed in the expanded Form Designer. In the Resources pane, the Generate a form mappings file check box is available.