addConstructByName()

This method adds a sub-dialog of a CONSTRUCT BY NAME type to an existing ui.Dialog dynamic dialog (created with ui.Dialog.createMultipleDialog).

You also can specify the dialog attributes using the setDialogAttribute() method.

Note: The static CONSTRUCT dialog instructions will use the data types of the fields defined in the .per form specification file. The dynamic CONSTRUCT will use the data type provided in the dynamic array that defines the list of fields.

Syntax

ui.Dialog.addConstructByName(

fields DYNAMIC ARRAY OF RECORD

name STRING,

type STRING

END RECORD,

name STRING

)

fields is the DYNAMIC ARRAY OF RECORD representing a list of form fields controlled by the dialog. The name and type members must be of a STRING data type.

name is used to identify the sub-dialog in dialog events and API calls.

 

Contact Us

Privacy Policy

Copyright © 2025 Querix, (UK) Ltd.