Adding validate rules to the allow list for offline use
The pxInsName string consists of the name of the validate class appended
to the validate rule name, separated by an exclamation mark (!). For example, if the class
name for the validate rule is
MY-VR-SAMPLE-WORK-MYCASE and the validate
rule is called SampleVR, the pxInsName string for this
validate rule is: MY-VR-SAMPLE-WORK-MYCASE!SampleVR
To add validate rules to the list of offline-supported validate rules, perform the following steps:
In the header of Dev Studio, click.
In the Whitelist section, on the validate rules line, click Modify whitelist to open the pyValidateWhitelistForOffline rule.
Verify that the pyValidateWhitelistForOffline rule that you are editing belongs to the
In the HTML source text area, enter either the pxInsName string for a validate rule or a list of pxInsName strings for the validate rules, with each entry separated by a new line.
- Validate rules in offline mode
To improve the user experience, you can use validate rules in offline-enabled applications. For example, a validate rule can test properties and pages input values of the offline-enabled application against conditions that are defined as part of the validate rule. The validation is performed automatically if the rule is referenced by a flow action.
- Function rules in offline mode