MaestroThe UI design product. | Form Builder | All versions This feature is related to all versions.
Maestro allows you to create form load rules, which are business rules that are invoked on a form load event. This event is triggered immediately after a page has been loaded. Form load rules can only be applied to a whole Maestro form, so you can't fire this rule on a single field. Load rules are created slightly differently to the way traditional business rules are created in Maestro.
You can use this rule to mock services and test data so you can test a form without needing to configure Manager. For example, add Form.addPreviewDDSData("Fake DDS Test", { 'field1': 'Field 1 value', 'field2': 'Field 2 Value' } );
to mock a Fake DDS Test service.
Form.addPreviewDDSData()
only works for DynamicData.call()
functions and doesn't work with Transact Functions.
To create a form load rule:
Next, learn how to how to debug Maestro business rules.