<?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>movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/discussions/f/user-interface/33990/movie-ticket-booking-seating-arrangement-dynamically</link><description>How to create a movie ticket booking Seating Arrangement dynamically based on individual theater the seating for each and every theater is different. Admin can change the no.of seats how much he required.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129173?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 08:49:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89710a78-d7ff-4f16-8c0c-5048f18548d9</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;I&lt;span&gt;f the answer has helped you please verify the answers that were helpful and mark the thread as closed&lt;/span&gt;&amp;nbsp;Shravani.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129172?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 08:37:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff602304-1ac3-42cd-a25b-3b006a27aa43</guid><dc:creator>Narmala Shravani</dc:creator><description>&lt;p&gt;Thank you&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/venkata6615"&gt;Venky Avuluri&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129170?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 08:16:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:056c4ce0-683f-480d-81d5-19fa8672d902</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!columns: 10,
  /*Pass it dynamically   */
  local!rows: 10,
  local!theaterSeating: 
    a!forEach(
      items: enumerate(local!rows) + 1,
      expression: a!localVariables(
        local!rowNumber: fv!index,
        a!forEach(
          items: enumerate(local!columns) + 1,
          expression: a!map(
            rownumber: local!rowNumber,
            columnnumber: fv!item,
            selected: false
          )
        )
      )
    )
  ,
  local!Seats:
  a!refreshVariable(
    value: a!flatten(local!theaterSeating),
    refreshOnVarChange: {local!theaterSeating}
  ),
  local!selectedSeats:a!refreshVariable(
 value:  index(local!Seats,wherecontains(true,toboolean(local!Seats.selected)),null),
 refreshOnVarChange: {local!Seats,local!theaterSeating}
  ),
  
  {
    a!cardLayout(
      contents: {
        a!forEach(
          items: local!theaterSeating,
          expression: a!sideBySideLayout(
            items: 
          a!forEach(
            items: fv!item,
            expression: a!sideBySideItem(
              item: a!richTextDisplayField(
                value:a!richTextIcon(
                  icon: if(fv!item.selected,&amp;quot;square-full&amp;quot;,
                    &amp;quot;square-o&amp;quot;),
                    link: a!dynamicLink(
                      saveInto: {a!save(fv!item.selected,if(fv!item.selected=true,false,
                      true))
                      }
                    )
                )
              )
            )
          ))
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Take a look at this code Shravani , I don&amp;#39;t prefer it because if the rows are columns are too high, data on the interface ( in map) gonna be large so leads to performance issues (interface might gets slow), So go for alternatives. Or if you find any alternative within appian let us know&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129167?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 07:27:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:825f4d77-9185-4b35-9020-a0a13ba02102</guid><dc:creator>Narmala Shravani</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes I&amp;#39;ve gone through the code, they passed the no. of seats as statically(say 6 in every row in the above code),Now I need to pass the no. of seats dynamically based on the theater.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129166?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 07:22:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4aca8257-648b-4024-b841-53680fc7f193</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Using other languages languages like&amp;nbsp; Java, JavaScript etc., You can manage back end processing for this use case in Appian. We can built the Interface but it&amp;#39;s not gonna look good&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If there is any other option&amp;nbsp;&lt;a href="/discussions/f/user-interface/33872/movie-ticket-seating-arrangement"&gt;Look into this&lt;/a&gt;&amp;nbsp;thread it had a interface design , Use it and make necessary changes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129162?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 06:44:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:898bab13-0ded-4d51-85d7-a101b7d26342</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;I don&amp;#39;t think this is the right place to ask questions for non-appian related doubts.&amp;nbsp;&lt;br /&gt;And there should be some examples already on the web for this. If not, ChatGPT should help you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And if you want to build this on Appian only for practice, then I think you can simply take up the total number of setas (assuming that there is not gaps or divisions) and then arrange them in a matrix. Here is my blog on how to do that -&amp;nbsp;&lt;a href="https://appianspace.com/2022/08/05/dynamic-action-tiles/"&gt;appianspace.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129161?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 06:42:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c590be7-7e40-4ad7-a50a-bbd716c26f21</guid><dc:creator>Narmala Shravani</dc:creator><description>&lt;p&gt;Hi &lt;a class="internal-link view-user-profile" href="/members/venkata6615"&gt;Venky Avuluri&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your reply, Without using appian SAIL, how can we achieve the requirement. Could you please suggest alternative solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: movie ticket booking Seating Arrangement dynamically</title><link>https://community.appian.com/thread/129160?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 06:37:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ef8c342-ca47-40bc-9263-baf6e4159b1f</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;We can achieve it&amp;nbsp; using complex looping,&amp;nbsp; But for these type of use cases i don&amp;#39;t suggest Appian SAIL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>