Actions of type Set server attribute allow to store data in the form of key-value-parent on the form record, available only on the server (not in the browser).
Saved data can be accessed later using variables.
[%$RECORD_ATTR.key%] [%$RECORD_ATTR["Name-With/Special?Characters"]%]
Where key is the name of the server attribute.
Contents
Parameters
Setting attributes on the form record
- Attribute name
- Name of the attribute which should be set.
- Value
- Assigned value of the attribute
- Set form values?
- This setting exists for compatibility reasons and should not be used. Instead, the Change Form Values action should be used.
Action variables
Actions of type Set server attribute provide Action variables which can be used in subsequent actions.
Standard action variables
- [%$<action name>.SUCCESS%]
- Return whether action was successfully executed. Returns Boolean (true/false).
- [%$<action name>.RESULT%]
- Return all results provided by the action in structured form.
- [%$<action name>.ERROR_CODE%]
- The error code thrown in case of an error in the action. Empty if no error occurred.
- [%$<action name>.ERROR_MESSAGE%]
- The thrown error message in the action's error case. Empty if no error occurred.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article