<?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>Collapse</title><link>https://community.appian.com/discussions/f/user-interface/30222/collapse</link><description>Hii, is there any way to collapse in cardlayout section. I have a requirement like inside cardlayout section we have four selected tab again in cardlayout one by one that tab enable after approve after enable last one how can we collapse by default.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120204?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 18:42:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9211b93f-7195-43e0-a3a7-e6079c8a5f78</guid><dc:creator>deeptis0004</dc:creator><description>&lt;p&gt;That&amp;#39;s why I did not insert here&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120203?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 18:41:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da007b07-a5ab-42c5-a825-9c7af9966af7</guid><dc:creator>deeptis0004</dc:creator><description>&lt;p&gt;Thank you stefen&lt;/p&gt;
&lt;p&gt;But I can not share my code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120202?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 18:39:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48e05324-2b36-4a40-8f33-0951d903b2d8</guid><dc:creator>deeptis0004</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Thank you Rishikesh I was exactly looking like this.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120179?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 13:29:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8d2a2cb-be22-48f2-999a-afb6cf960310</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1696512485762v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120177?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 13:17:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:198ed65b-2438-406d-97b8-b935968e9077</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;As we know &lt;span&gt;cardlayout don&amp;#39;t have collapsable property as that of boxLayout. But as per your requirement you can try below code, feel free to modify according to you. This is a custom collapsable cardlayout.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!isOpen: true,
  {
    a!cardLayout(
      contents: a!cardLayout(
        contents: {
          a!sideBySideLayout(
            items: {
              a!sideBySideItem(
                item: a!richTextDisplayField(
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  value: {
                    a!richTextItem(text: &amp;quot;Attachments&amp;quot;, size: &amp;quot;MEDIUM&amp;quot;)
                  }
                )
              ),
              a!sideBySideItem(
                item: a!buttonArrayLayout(
                  buttons: {
                    a!buttonWidget(
                      icon: if(
                        local!isOpen,
                        &amp;quot;angle-down-bold&amp;quot;,
                        &amp;quot;angle-right-bold&amp;quot;
                      ),
                      saveInto: a!save(local!isOpen, not(local!isOpen)),
                      size: &amp;quot;SMALL&amp;quot;,
                      style: &amp;quot;LINK&amp;quot;
                    )
                  },
                  align: &amp;quot;END&amp;quot;,
                  marginAbove: &amp;quot;NONE&amp;quot;,
                  marginBelow: &amp;quot;NONE&amp;quot;
                ),
                width: &amp;quot;MINIMIZE&amp;quot;
              )
            },
            alignVertical: &amp;quot;MIDDLE&amp;quot;
          )
        },
        style: &amp;quot;STANDARD&amp;quot;,
        showBorder: false,
        showShadow: false,
        decorativeBarPosition: &amp;quot;END&amp;quot;,
        decorativeBarColor: &amp;quot;#F0F0F0&amp;quot;
      ),
      style: &amp;quot;STANDARD&amp;quot;,
      padding: &amp;quot;NONE&amp;quot;,
      marginBelow: if(local!isOpen, &amp;quot;NONE&amp;quot;, &amp;quot;STANDARD&amp;quot;),
      showShadow: true,
      decorativeBarPosition: &amp;quot;TOP&amp;quot;,
      decorativeBarColor: &amp;quot;ACCENT&amp;quot;
    ),
    a!columnsLayout(
      columns: {
        a!columnLayout(width: &amp;quot;EXTRA_NARROW&amp;quot;),
        a!columnLayout(
          contents: {
            a!cardLayout(
              contents: a!richTextDisplayField(
                value: a!richTextBulletedList(
                  items: a!richTextListItem(
                    text: {
                      a!richTextItem(text: &amp;quot;Document 1&amp;quot;),
                      char(10),
                      char(10),
                      a!richTextItem(text: &amp;quot;Document 2&amp;quot;),
                      char(10),
                      char(10),
                      a!richTextItem(text: &amp;quot;Document 3&amp;quot;)
                    }
                  )
                )
              ),
              padding: &amp;quot;NONE&amp;quot;,
              showBorder: false,
              showShadow: false,
              decorativeBarPosition: &amp;quot;START&amp;quot;,
              decorativeBarColor: &amp;quot;ACCENT&amp;quot;
            )
          }
        )
      },
      showWhen: local!isOpen,
      marginBelow: &amp;quot;STANDARD&amp;quot;
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120147?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 19:20:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23efa67f-2d1b-4f60-aa39-63152f75b753</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;.................,,,,,,,,,,,,,,,,,,,, :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120146?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 19:10:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af7f8aa6-6ac8-46e6-9c31-0ef8848cec6e</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="59361" url="~/discussions/f/user-interface/30222/collapse/120145#120145"]we need way more details.[/quote]
&lt;p&gt;and... like... maybe just a smidge of punctuation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Collapse</title><link>https://community.appian.com/thread/120145?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 18:59:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5626ca0b-a544-47a6-bdbd-4c6f57fbd4c3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not sure I understand what you want to achieve, but you can hide and shoe any component based on any logic. That should allow you to implement what you are looking for.&lt;/p&gt;
&lt;p&gt;For more tips, we need way more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>