Using parameters you can pass values such as subject and body to Send email
, filter a list, or pass data from one page to another. You can specify parameters for each page or component. Here we guide you through parameter types and how to specify parameters for page or component.
To send an email, you need to specify such parameters as the recipient's email, subject, and the body. You have different options to do it:
Ask the user to fill the form in your App
Specify default values
Extract values from components on the Page
We need to configure the parameters for the "Send Email" button in that case. So all we have to do just select Ask from user user option
in Formulas pop-up window.
Now when the user will send an email, a popup window will be displayed with a form for entering the required parameters.
You can set a default value for any parameter for the value to be passed automatically:
Now when the user sends an email, he or she will not have to manually enter the from email
parameter:
Let's say you have the Customers table. Once the user is selected in the Customers table, his or her email value will be used as theUser email
parameter so that to send a promotional email with a Marketing tool. The succession of events will be this:
Click on Value text area. There will be a pop-up window.
Then select Customers table -> Clicked row (the value will pass once you click a row) -> User email.
The Value field will be populated with the following expression:
=elements.Customers["0"].selected_item.email
In case, when you want to build a Detail page for your user with the user info on this page: first name, last name, address, etc. You need to pass the user ID parameter from one page to another. To do this you need to create a parameter for this page and pass this parameter to another page in Action.
To create page parameters go to the page settings then click +Add Parameter.
Let's say the Refund Tool page includes a customer table, and the other Users page includes a table with detailed information about the customer. We want to pass the customer id
from one page to another to get the additional info.
1. To create a link between pages create an Action specified as Open Page
2. Select the page you want to open (users page in our case).
3. Pass the customer id
parameter from the customer table.
4. Select a user and click on the Get Info button.