...
2. How to include the Add Dialog
- Add Dialog using actionType "RUN"
To open the new Add dialog from a button(eg. fab button), you would need to set up a new MenuStructure with a new MenuFunction.
That MenuFunction can be of type RUN and with the ActionParameter of the MenuFunction set to '$ crm.openNewRecordDialog(self, 'createUserDialog')'
2. Add Dialog using actionType "LUNCH"
Alternatively you can use the MenuFunction ActionOptions to set the 'autoAdd' option to true.
if "actionType" is LAUNCH then "actionOptions" can be a string representation of a JSON object,
options that will be parsed when loading the new repository object, for eg.:
...