Jump to content

On Execute: Difference between revisions

From Resco's Wiki
Marek Rodak (talk | contribs)
No edit summary
Marek Rodak (talk | contribs)
No edit summary
Tag: visualeditor-switched
Line 3: Line 3:
<span style="float:left; padding-right:10px">[[File:On Execute button.PNG|top]]</span>
<span style="float:left; padding-right:10px">[[File:On Execute button.PNG|top]]</span>
App users can execute commands from their app, for example, run a mobile report or delete several records at once. Predefined commands usually function out of the box. However, you can use rules to define their availability and tweak their function. On Execute lets you define the actions that the command performs. This rule is triggered when the command button is pressed. For example, It can be filling in some data, hiding fields, etc.
App users can execute commands from their app, for example, run a mobile report or delete several records at once. Predefined commands usually function out of the box. However, you can use rules to define their availability and tweak their function. On Execute lets you define the actions that the command performs. This rule is triggered when the command button is pressed. For example, It can be filling in some data, hiding fields, etc.
In Woodford, you can edit the commands available for a form.
In Questionnaire Designer, you can edit the commands available when filling out a questionnaire.


On Execute is available for the following user interface components:
On Execute is available for the following user interface components:
*[[Form]]s  
*[[Form]]s  
*[[Questionnaire Designer|Questionnaires]]
*[[Questionnaire Designer|Questionnaires]]
In Woodford, you can edit the commands available for a form.
In Questionnaire Designer, you can edit the commands available when filling out a questionnaire.


===Example of a simple On Execute command===
===Example of a simple On Execute command===

Revision as of 08:05, 12 September 2022

Warning Work in progress! We are in the process of updating the information on this page. Subject to change.

App users can execute commands from their app, for example, run a mobile report or delete several records at once. Predefined commands usually function out of the box. However, you can use rules to define their availability and tweak their function. On Execute lets you define the actions that the command performs. This rule is triggered when the command button is pressed. For example, It can be filling in some data, hiding fields, etc.

On Execute is available for the following user interface components:

In Woodford, you can edit the commands available for a form. In Questionnaire Designer, you can edit the commands available when filling out a questionnaire.

Example of a simple On Execute command

If Condition Command.Name Equals custom_del_street
Then Step Entity.addres1_line1 Clear