10,854
edits
No edit summary |
No edit summary |
||
Line 80: | Line 80: | ||
|} | |} | ||
== Starting the rules editor == | |||
Forms and views: | |||
# Edit an [[App projects|app project]] in Woodford. | |||
# Select an entity from the '''Project''' menu and click '''Show UI'''. | |||
# Edit a form or view. | |||
# Click one of the rule buttons available in the toolbar. | |||
Route plan: | |||
# Edit an [[App projects|app project]] in Woodford. | |||
# Select '''Route Plan''' from the '''Project''' menu. | |||
# Edit a route plan. | |||
# Click '''On Item Added''' or '''On Item Completed'''. | |||
#* If you don't see the buttons, uncheck the option '''View-only Mode'''. | |||
Calendar: | |||
# Edit an [[App projects|app project]] in Woodford. | |||
# Select '''Calendar''' from the '''Project''' menu. | |||
# Edit a calendar and go to the '''Rules''' tab. | |||
# Select an entity and click '''Edit Rule'''. | |||
Maps: | |||
* Maps are based on views. View rules apply also to map views. | |||
== Using the editor == | |||
The following functions are available when editing rules. | |||
; Save, Save & Close: Save your changes. | |||
; Syntax Check: Check if the script workflow is valid. Invalid scripts cannot be saved. | |||
; Disable Rule, Enable Rule: Temporarily disable a rule, until you enable it back. To permanently disable a rule, delete it. | |||
; Edit functions: Common functions, such as Copy or Delete. | |||
; Step: Add a step. Steps do things, for example modify data or user interface. | |||
; Variable, Shared: Define or modify a variable. You can use the variable later in the script. Shared variables can be used even in other scripts within the same mobile project. | |||
; If, Else: Use to define conditions when a particular step should be performed. | |||
; Condition, Group And, Group Or, Ungroup: Use Condition to add another condition to the same If. Define if the all conditions must be met (AND) or only some (OR). Use Ungroup in nested conditions. | |||
; Export XML, Import XML: Rules can be exported and reused in a different location in the project or in a different project. | |||
[[Category:Woodford]] | [[Category:Woodford]] |