<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Repetitive dynamic layout</title><link>https://community.appian.com/discussions/f/user-interface/31036/repetitive-dynamic-layout</link><description>Hi, I am building a page where I need to show the list products available in my database in a particular interface. It&amp;#39;s like a product inventory. Is there any object to show repetitive dynamic layout which will display a specific section repeatedly for</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Repetitive dynamic layout</title><link>https://community.appian.com/thread/123804?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 09:51:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21557a3d-e15b-40a5-af44-c55cd3681dc6</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;&lt;a class="internal-link view-user-profile" href="/members/mayurim3258"&gt;Mayurimestry&lt;/a&gt;&amp;nbsp;Thanks for confirming what you were looking for &amp;amp; If you are willing please hit &amp;#39;Verify answer&amp;#39;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repetitive dynamic layout</title><link>https://community.appian.com/thread/123803?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 09:46:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6286a7a3-4c2b-4425-afa9-002bede4da43</guid><dc:creator>Mayuri Mestry</dc:creator><description>&lt;p&gt;Thank you &lt;a href="/members/abhayd3663"&gt;Abhay Dalsaniya&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repetitive dynamic layout</title><link>https://community.appian.com/thread/123802?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 09:45:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de31d29f-3565-4487-b56b-55e218c74e22</guid><dc:creator>Mayuri Mestry</dc:creator><description>&lt;p&gt;Thank You&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/konduruc6445"&gt;Konduru Chaitanya&lt;/a&gt;. This is what I was looking for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repetitive dynamic layout</title><link>https://community.appian.com/thread/123700?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 19:05:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a732b52-1c28-4423-b6a2-b7076822894c</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;Repetition is achieved using forEach() function, it iterates to the list of items and do the processing for each item. The list of items cab be pulled from the DB or any other source and can be provided to forEach() for processing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repetitive dynamic layout</title><link>https://community.appian.com/thread/123631?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 10:19:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21083e66-8732-40d1-a72e-aafc7c24ab0f</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;I would suggest making a dedicated interface for showing the details of the items and then you can even call the entire interface in your expression using &amp;#39;rule!&amp;#39;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repetitive dynamic layout</title><link>https://community.appian.com/thread/123630?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 10:15:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2f4bd26-9bda-4e16-bffd-82b329c29dbe</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/mayurim3258"&gt;Mayurimestry&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;You can simply write your expression in a!forEach(). In the Items add your product data and in the expression configure your section/card of how you are planning to display the data.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!products: rule!XXX_QR_getProductXXXDetails(isActive: true),
  {
    a!forEach(
      items: local!products,
      expression: {
        /*Create and expression rule for this and call it here instead of having the whole code*/
        a!cardLayout(
          shape: &amp;quot;ROUNDED&amp;quot;,
          padding: &amp;quot;MORE&amp;quot;,
          marginBelow: &amp;quot;STANDARD&amp;quot;,
          contents: {
            a!sectionLayout(
              label: concat(
                fv!index,
                &amp;quot;. &amp;quot;,
                fv!item[&amp;#39;recordType!{2b924bf1-5a42-XXX}XXX PCCoot XXX Detail.fields.{eb4513cb-275e-4a41-b750-XXXX}productName&amp;#39;]
              ),
              divider: &amp;quot;ABOVE&amp;quot;,
              contents: {
                a!columnsLayout(
                  columns: {
                    a!columnLayout(
                      contents: {
                        a!textField(
                          label: &amp;quot;SKU Code&amp;quot;,
                          value: fv!item[&amp;#39;recordType!{2b924bf1-5a42-XXX}XXX PCCoot XXX Detail.fields.{eb4513cb-275e-4a41-b750-XXXX}productSKU&amp;#39;],
                          readOnly: true
                        ),
                        a!paragraphField(
                          label: &amp;quot;Description&amp;quot;,
                          value: fv!item[&amp;#39;recordType!{2b924bf1-5a42-XXX}XXX PCCoot XXX Detail.fields.{eb4513cb-275e-4a41-b750-XXXX}productDescription&amp;#39;],
                          readOnly: true
                        )
                      }
                    ),
                    a!columnLayout(
                      contents: {
                        a!imageField(
                          size: &amp;quot;LARGE&amp;quot;,
                          images: a!documentImage(
                            document: fv!item[&amp;#39;recordType!{2b924bf1-5a42-XXX}XXX PCCoot XXX Detail.fields.{eb4513cb-275e-4a41-b750-XXXX}image&amp;#39;]
                          )
                        )
                      }
                    )
                  }
                )
              }
            )
          }
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1704364049153v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>