<?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>Creating a BoxLayout</title><link>https://community.appian.com/discussions/f/user-interface/34505/creating-a-boxlayout</link><description>Hi Team, 
 In Excel sheet, as per rows I want separate BoxLayout with the separate entries into it. For Example, 
 I have a 3 rows with column firstname, lastname and city as per first row of data I want to put in 1st BoxLayout , 2nd row of data in 2nd</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132257?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2024 11:52:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17f92cfb-500c-44df-a719-e4d7457160b9</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;thank you daisymanmohansingh, your code is working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132256?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2024 11:51:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e2f1bb1-5fa6-4450-9165-6e4151728bcc</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;Stefan and Konduru, code is working, thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132237?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2024 07:37:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:753c1a36-d52d-4221-bf7a-4a60dbaed501</guid><dc:creator>daisyMSingh</dc:creator><description>&lt;p&gt;In Given Manner You Can Achieve the Following Requirements .&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!result: {
    { values: { &amp;quot;firstname&amp;quot;, &amp;quot;lastname&amp;quot;, &amp;quot;city&amp;quot; } },
    { values: { &amp;quot;rakesh&amp;quot;, &amp;quot;sharma&amp;quot;, &amp;quot;mumbai&amp;quot; } },
    { values: { &amp;quot;rahul&amp;quot;, &amp;quot;dongre&amp;quot;, &amp;quot;gondia&amp;quot; } },
    { values: { &amp;quot;priti&amp;quot;, &amp;quot;kataria&amp;quot;, &amp;quot;delhi&amp;quot; } },

  },
  local!data: a!forEach(
    items: local!result,
    expression: a!map(
      firstname: fv!item.values[1],
      lastname: fv!item.values[2],
      city: fv!item.values[3]
    )
  ),
  local!columnsName: { &amp;quot;firstname&amp;quot;, &amp;quot;lastname&amp;quot;, &amp;quot;city&amp;quot; },
  a!forEach(
    items: local!data,
    expression: if(
      fv!isFirst,
      {},
      a!localVariables(
        local!indexData: fv!item,
        a!boxLayout(
          contents: {
            a!columnsLayout(
              columns: {
                a!forEach(
                  items: local!columnsName,
                  expression: a!columnLayout(
                    contents: {
                      a!textField(
                        label: fv!item,
                        labelPosition: &amp;quot;ADJACENT&amp;quot;,
                        value: index(local!indexData, fv!item, null),
                        readOnly: true()
                      )
                    }
                  )
                )
              }
            )
          },
          isCollapsible: true()
        )
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132135?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 14:51:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a1caf8f-df49-4273-8cff-a14772d121af</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;I think what Stefan has mentioned is just what you have asked for here in this space. It is working perfectly for me. What is that you are seeing on screen when you are using Stefan&amp;#39;s code? You can just update the local with your ER or the source of the data. That should definetely work.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132116?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 12:40:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ee87050-61a0-4559-90fd-d5bf66a425c5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The data structure I created should be quite similar to the one you have.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132111?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 11:48:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52787d60-6b59-43eb-b47e-2b7784ec797d</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;thank you shyam but&amp;nbsp;i want boxlayout only&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132110?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 11:47:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49472df9-c339-4b44-8028-5440ef009948</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;It is not working stefan, I want without hardcoding values, i have shared a screenshot of document when file gets uploaded ER get called&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1711712845743v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132080?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 10:25:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dbd715ce-e542-412e-82f9-119cf0aebd72</guid><dc:creator>ShyamSudi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="/members/yashg0003"&gt;Yash Gandhi&lt;/a&gt;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;Try using grids&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!columnsLayout(
      spacing: &amp;quot;NONE&amp;quot;,
      columns: {
        a!columnLayout(
          contents: a!gridField(
            data: local!result,
            columns: a!gridColumn(value: fv!row.values[1])
          )
        ),
        a!columnLayout(
          contents: 
          a!gridField(
            data: local!result,
            columns: a!gridColumn(value: fv!row.values[2])
          )
        ),
        a!columnLayout(
          contents: a!gridField(
            data: local!result,
            columns: a!gridColumn(value: fv!row.values[3])
          )
        ),
      }
    ),&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1711707896009v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;It looks like this&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132057?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 08:54:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d0743c7f-a285-4240-8571-9bbdf6aaabc9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!result: {
    {
      values: {
        &amp;quot;firstname&amp;quot;,
        &amp;quot;lastname&amp;quot;,
        &amp;quot;city&amp;quot;
      }
    },
    {
      values: {
        &amp;quot;rakesh&amp;quot;,
        &amp;quot;sharma&amp;quot;,
        &amp;quot;mumbai&amp;quot;
      }
    },
    {
      values: {
        &amp;quot;rahul&amp;quot;,
        &amp;quot;dongre&amp;quot;,
        &amp;quot;gondia&amp;quot;
      }
    },
    {
      values: {
        &amp;quot;priti&amp;quot;,
        &amp;quot;kataria&amp;quot;,
        &amp;quot;delhi&amp;quot;
      }
    },
  },
  a!forEach(
    items: remove(local!result, 1),
    expression: a!localVariables(
      local!row: fv!item,
      a!boxLayout(
        marginBelow: &amp;quot;STANDARD&amp;quot;,
        contents: {
          a!forEach(
            items: local!result[1].values,
            expression: a!textField(
              label: proper(fv!item),
              value: local!row.values[fv!index]
            )
          )
        }
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132050?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 05:50:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b6490ff-c3ec-4bbf-8179-a0edeac34b16</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;I am not understanding Konduru, i am using cardlayout for boxes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132049?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 05:47:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78607246-ae31-4609-b461-9169e891ea0f</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;In the items, get rid of [1] . That should do.Also define the first a!forEach in a&amp;nbsp;correct format. But where is the box layout?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132048?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 05:23:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5226351-8c10-4b13-a3df-cf63520055a7</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;okay, i will give you a logic of that code not whole code you can see what is need to be updated&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1711689788869v2.png" alt=" " /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1711689646853v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132032?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 14:41:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad1f92cd-9abe-4e50-bb9f-b16afdf4d428</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sorry, but without seeing your code, I cannot say anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132030?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 14:29:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ef3fca3-0153-4857-9a64-70e4180658ca</guid><dc:creator>Yash Gandhi</dc:creator><description>&lt;p&gt;Sorry Stefan, i cannot share a code it&amp;#39;s a organisation policy but for labels i am using fv!item and for values I am using local variables where values of document data is populating with fv! index in textbox&lt;/p&gt;
&lt;p&gt;If you can share a code with above scenario what I have written how can be it is shown as sample with for each then i can use it as a reference in UI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a BoxLayout</title><link>https://community.appian.com/thread/132029?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 14:18:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ae65470-0e64-4b29-a4b4-e9267e210716</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Can you share the code of that interface?&lt;/p&gt;
&lt;p&gt;I assume you are using a foreach to iterate on the rows. Do you use fv!item to reference the values?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>