Configuring a text dialog
You can use the text dialog to display and manage M3 texts.
Note: Configuring a text dialog requires an understanding of how M3 text blocks work.
- Click the Manage Dialogs button.
- Click +Add button and select Text.
- Specify the component ID in the Component ID field.
- In the General Settings, specify the component heading in the Component heading field. The component heading is displayed as the heading of the dialog.
To use translation keys, enclose the name in <> and do not use spaces.
- In the Text Parameters tab, specify the text parameters.
- Table (FILE)
- Specify the master table to use, including the primary index (00) as suffix. For example, MPHEAD00.
- Field (FLDI)
- Specify the text subtype such as text or TXID, pre-text or PRTX, or post-text or POTX.
- Transfer file (TFIL)
- Specify the transfer file, for example, MSYTXH. To find which value to specify, you can search in M3 Metadata Publisher for *SYTXH or *SYTXL.
- In the Key Values section, locate the KV01 or Key Value 1 row. In the Source column, select User Context. Then, in the Source field column, select CONO.
This is needed for the text dialog to work. Configure additional key values as needed.
- In the Interactions tab, configure which event must open the dialog, for example, the click of a button.
- Source component
- Select the component in which the component element is that you want to open the dialog when clicked.
- Component element
- Select the component element that should open the dialog when clicked, e.g. a button or a spotlight item.
- Event
- Select Click.
- Operation
- Select Open.
- Save the changes and save the application. To validate that the dialog was successfully created, open the dialog by clicking the component element selected in the previous step.