Prerequisite for Dynamic Content block examples
Last updated
Last updated
In order to make the Page Flow blocks related to easier to understand, we have created a common design and initial data, which we will explain in this section.
The data used for the example consists of a list (stocks list) containing two items with sample information for Company 1 (with identifier ST100, stock ticker CMPN1) and Company 2 (with identifier ST101, stock ticker CMPN2). This is shown in the image below:
The data is then used to populate the page using our data design as follows:
The image below shows how the rendered page looks.
The example uses the shown in the above image, and is summarized below:
It consists of the and elements with (stock ticker
, stock name
, stock price
, company link
)
A (labelled Enabled)
An element (Owned Quantity)
Update
Down Arrow (intended to expand the collapsible area).
containing Element with the stock info
The above flow consists of a list loop block that iterates through our stocks list and generates content using our Data Design by providing the value for the using our data.
The block is used because our contains a element.