STEP 2. Add Report Parameters
Report parameters are used for inputting data into document reports, used to filter the data when generating the report.
Adding parameters is very easy, similar to adding an attribute on an entity:
- In the Edit Data Source page, scroll down to the PARAMS section and click the Insert button. The Add Data Source Param page appears.
- Provide the Name of the parameter matching the name that you will use in the custom fetch, or in the stored procedure.
- In the Display Name field, enter the name of the parameter as it will be displayed in the UI.
- Select the Attribute type. For more information on the types of attributes available in the platform, see Types of Attributes.
- If you want to add multiple parameters, click Save and reload and add the parameters. Otherwise, click Save and close.
When generating the report, the value of the "name" property will to be replaced with the value of the "entityName" parameter provided in the fetch, we will add the "entityName" parameter.