Jump to content

Button Click: Difference between revisions

From Resco's Wiki
Marek Rodak (talk | contribs)
No edit summary
Marek Rodak (talk | contribs)
Line 15: Line 15:
These two examples, showcase custom buttons on the account form.   
These two examples, showcase custom buttons on the account form.   


[[File:New order appointment onform.PNG|600px]]
[[File:New order appointment onform.PNG|400px]]


First, we click on Add button: [[File:AddButton icon.PNG]]
First, we click Add button: [[File:AddButton icon.PNG]]. We name the button (Click text, Label): [[File:Button description.PNG]].
 
We name the button (Click text, Label): [[File:Button description.PNG]]


Then, set up a '''Button Click''' rule.
Then, set up a '''Button Click''' rule.
Changeditem is the label of the button. We create a variable that will be a new instance of order or appointment and assign the customer id from the account. In the end, we open a new appointment/order record.
Changeditem is the label of the button. We create a variable that will be a new instance of order or appointment and assign the customer id from the account. In the end, we open a new appointment/order record.


[[File:File:New order appointment.PNG|600px]]
[[File:New order appointment.PNG|600px]]

Revision as of 12:38, 28 October 2022

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

Rules are client-side scripts (no-code business logic) that are executed when a user of the mobile app interacts with the app. The Button Click rules are executed when a row button is clicked. Rules are managed using the rules editor, usually in Woodford.


Button Click rules are available on the:

Example: create new order or appointment

These two examples, showcase custom buttons on the account form.

First, we click Add button: . We name the button (Click text, Label): .

Then, set up a Button Click rule. Changeditem is the label of the button. We create a variable that will be a new instance of order or appointment and assign the customer id from the account. In the end, we open a new appointment/order record.