When connecting an API Data Source to a Template, you can query the results to show predefined values specific to your Display Groups. This allows one connection to show different results on each Display Group, depending on the defined parameters.
Enabling Display Group Parameters
To enable Display Group parameters:
- Log into Enplug.
- Click the Display Group drop-down in the top menu, then select the desired group.
- Navigate to the General Info tab.
- Scroll to the bottom of the page.
- Enable Custom Parameters.
- Enter a parameter Name.
- Enter a parameter Value.
- Click Save.
Adding Parameters to API Data Source Connection
Follow the steps in the Connect API Data Source article to connect your data. When you reach the Query Parameters section:
- Name the parameter.
- Assign a value.
- The value in the query parameter is the name parameter in the Display Group.
- If you wish to encrypt the value, check the Encrypt box.
- Check the Display Group box to apply to your Display Groups.
- Enter a test value.
- This value will determine what will show on the Data tab as a content example.
- Click Add to include additional parameters.
Refer to the pull connection setup to complete the Data Source connection.
Additional Information
After connecting your API Data Source, the Templates Data tab will only show an example result based on the test value entered during the parameter setup.
- If you want to edit that test value, select Display Group, then Parameters.
- Change the value and click Save in the parameters window.
- Click the Save to apply the new parameter to the Template and refresh the browser to update the results.
For questions or concerns, please reach out to our Support Team at support@spectrio.com.