MaestroThe UI design product. | Form Builder | All versions This feature is related to all versions.
Journey Maestro allows you to identify and extend functionality of custom and shared components using the Component Options, as shown below.
You can add the following options to a component from the Maestro editor:
You cannot change the Component Options of core components.
Maestro provides fine control of various component options and Properties options. You can use these options to configure different component attributes, including branding and help text.
To configure Properties options for a component:
Maestro provides fine control of various component options, including Rule Helper options. You can use these options to add methods to a component right-click event in the rule editor, so a Rule Helper will appear as a selectable option when users right-click the component in the rule editor tree.
To configure Rule Helper options for a component:
A JavaScript can follow this pattern: Form.fireRule ("name of the Component Template", Form.items.component_ID, data)
, as shown in the example below:
Form.fireRule("testRule", Form.items.componentRuleTestID, data);
In this example, testRule is the name of the Component Template and componentRuleTest is the component ID of the component that the Rule helper is associated with. When a user right-clicks the component with the component ID componentRuleTestID, the configured Rule Helper is available as a selectable option.
You can use insert-item keyword to reference the item selected from the tree.
Journey Maestro provides you with the fine control of various component options, including Rule Template options. You can use these options to add custom rule types to a component. Once a rule is configured, you can run its JavaScript from another location of your form.
To configure Rule Templates options for a component:
Form.fireRule("test1", item, data)
It is recommended to save this code for your further reference as you will need it for an executable command later.
Next, check our best practices.