Link Parameter
When users open the view through the link, sometimes they want to pass parameters, which can be used to filter data in the view. These parameters are called link parameters.
Configuration
1. Define the link parameters
For example, if you want to filter the data by link parameter ( Entry Date ), and only the employees who joined after 2021-10-01 will be displayed in the view.
Add the link parameter: entry_date.
2. Set the parameter value for filtering
When you set the filter in the view, for the condition value, select the parameter value, and then select the defined parameter.
[Parameter Value] is displayed when you select the condition value only after you have defined the parameter in the view.
If the parameter value is empty or there is no parameter, the condition is ignored when filtering.
If the passed value of the link parameter is out of format, the condition is ignored when filtering.
Fields that can be filtered by the link parameter
Type | Control | Parameter Format |
---|---|---|
Text | Text, Email, Telephone, ID Number, Concat, Autonumber | |
Number | Number, Currency, Level, Rollup (number), Formula (number) | |
Date | Date, Rollup (date), Formula (date) | yyyy-mm-dd yyyy-mm-dd hh:mm:ss yyyy-mm-dd hh:mm:ss |
Time | hhmmss | |
Boolean | Check items | 0/1,ture/false |
3. Get the link of the view and splice the parameters
Get the public share link or the embedded link of the view.
An example of a public share link: https://www.mingdao.com/public/view/652398198b76fa276cdd95cc
Splice link parameters
Add
?EntryDate=2021-10-01
to the end of the original link.The question mark indicates that the parameter is passed later; EntryDate is the parameter name; Date is the parameter value.
Continue splicing parameters
If you need to pass more than one parameter, continue after the first parameter value, like
&date2=2022-10-01
.[&] indicates to continue splicing other parameters.
The URL required for this example is:
https://www.mingdao.com/public/view/652398198b76fa276cdd95cc?EntryDate=2021-10-01
The expectation is to only display employees who started after 2021-10-01.
To pass two parameters, the URL is:
https://www.mingdao.com/public/view/652398198b76fa276cdd95cc?EntryDate=2021-10-01&date2=2022-10-01
The first parameter is preceded by ? and & between subsequent parameters.
Parameter values do not need to be quoted.
Have questions about this article? Send us feedback