cancel
Showing results for 
Search instead for 
Did you mean: 

Iteration in Blox with Header iterations

Hitendra_Dixit
7 - Data Storage
7 - Data Storage

I want to make the iteration over the Form Name marked(in red) in the below image.

So, basically here there is a header name which has some attributes and their corresponding values which is different for every header and also there are multiple such plots but I am not able to crack it how it can be achieved. And also can there be any method so that we can get these attributes and reading inside a single table instead of these separate blocks.

So, if want to see one form name and their corresponding details I should be able to see it one page and similarly for other form name by iterating over these form names

Hitendra_Dixit_0-1655319196883.png

Code - 
{
"style": ".blox-slides:not(:first-child) .blox-pivot-title{display:none} .blox-slides .blox-pivot-title{margin-bottom:10px; font-weight:bold; color:black; font-size:1em}",
"titleStyle": [
{
"display": "none"
}
],
"showCarousel": false,
"body": [
{
"spacing": "",
"type": "Container",
"width": "95%",
"style": {
"margin": "0 auto"
},
"items": [
{
"type": "TextBlock",
"text": "<span>Form Name: {panel: Form Name}</span>",
"horizontalAlignment": "center",
"weight": "light",
"class": "blox-pivot-title",
"size": "large",
"style": {
"background-color": "#808080",
"border-radius": "5px",
"padding-top": "5px",
"padding-bottom": "5px",
"text-align": "center",
"color": "#ffffff"
}
},
{
"type": "ColumnSet",
"spacing": "none",
"separator": false,
"columns": [
{
"type": "Column",
"spacing": "small",
"separator": false,
"width": "30%",
"items": [
{
"type": "TextBlock",
"style": {
"backgroundColor": "#00",
"color": "#00",
"size": "large"
},
"class": "blox-pivot-title",
"separator": false,
"horizontalAlignment": "center",
"vertical-align": "middle",
"text": "Attribute"
},
{
"type": "TextBlock",
"weight": "light",
"horizontalAlignment": "left",
"separator": false,
"spacing": "none",
"text": "{panel:Form Attribute}",
"style": {
"border": "1px solid",
"padding": "5px 5px 5px 5px"
}
}
]
},
{
"type": "Column",
"separator": false,
"spacing": "small",
"items": [
{
"type": "TextBlock",
"style": {
"backgroundColor": "#00",
"color": "#00"
},
"class": "blox-pivot-title",
"horizontalAlignment": "center",
"separator": false,
"text": "Reading"
},
{
"type": "TextBlock",
"horizontalAlignment": "center",
"separator": false,
"weight": "light",
"spacing": "none",
"text": "{panel:Form Reading}",
"style": {
"border": "1px solid",
"padding": "5px 5px 5px 5px"
}
}
]
},
{
"type": "Column",
"spacing": "small",
"separator": false,
"items": [
{
"type": "ActionSet",
"separator": false,
"spacing": "none",
"actions": []
}
]
}
]
}
]
}
]
}
0 REPLIES 0