List presentation
This guide will take you through how to set up a List Presentation.
Prerequisite data
No connectors will be used in this example, but data from table steps will be utilized. Please download the file below; it will be used to import into the required table steps
Add a data grid
Add a User step.
Add a Table step.
Open the Table step and select Import File.
Choose the semicolon separator and click OK.
Select the "List presentation.csv" file downloaded in the prerequisite section above.
Set the table variable name to "Articles" and click OK.
Change the step name to "Articles". It's good practice to name steps after their content.
Right-click on the "Articles" step, select Add data arrow, and connect it to the User step created in step 1.
Open the User step.
Add a List Presentation.
In the Data Source, in the Table Variable, choose the table "Articles".
In the Prompt, write "List of Articles".
In the Item Text, write "{Name}".
In the Image Source, write "Cost: {Cost}SEK".
Click the Play button in the top right-hand corner to run the application in diagnostic mode.
Add configuration
When working with tables, connect offers a variety of possibilities to add configuration and style to make it look more suiting for your purpose.
Go back to the Designer.
In Group Rows By, choose Category.
In Item Style, write the following code:
Run the application in diagnostic mode again.
Condition to hide
In the Condition To Hide, write “{userId = “your user id”} (the user Id you log in to Connect with)
Run the application in diagnostic mode again.
Last updated