<?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>Based on value selected the data should be displayed</title><link>https://community.appian.com/discussions/f/user-interface/38611/based-on-value-selected-the-data-should-be-displayed</link><description>Hi All .I hope everyone is doing good. I have a scenario , but not sure if its possible / correct/not . Please let me know if any one has any ideas or any suggestions. 
 
 Scenario: I have used navigation pattern in interface . This uses different interfaces</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Based on value selected the data should be displayed</title><link>https://community.appian.com/thread/145868?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 09:24:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40949493-0b87-447c-8d47-427eca0150c5</guid><dc:creator>vyshnavig0001</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; },&lt;br /&gt; local!selectedSection: &amp;quot;Requested&amp;quot;,&lt;br /&gt; {&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I missed the above point . Like saving the section names in a local and calling it . Thank you very much for the help &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Based on value selected the data should be displayed</title><link>https://community.appian.com/thread/145816?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 18:32:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57b1bf60-e518-44cb-a416-846ae4b3d29e</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="/members/vyshnavig0001"&gt;vyshnavig0001&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you trying to show the same record with different status in the navigation pattern? If yes, you can simply use the filters parameter in the a!recordData() and apply the filter based on the selection. You can reuse the same grid. You can skip the choose part of the navigation pattern and directly use the saveinto to save the status of the selected value and filter the data accordingly.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!localVariables(
    /* The selected navigation section */
    local!activeNavSection: 1,
    /* The navigation sections */
    local!navSections: {
      a!map(name: &amp;quot;Requested&amp;quot;),
      a!map(name: &amp;quot;Inprogress&amp;quot;),
      a!map(name: &amp;quot;Delayed&amp;quot;),
      a!map(name: &amp;quot;Cancelled&amp;quot;),
      a!map(name: &amp;quot;Completed&amp;quot;),
      
    },
    local!selectedSection: &amp;quot;Requested&amp;quot;,
    {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: {
              a!forEach(
                items: local!navSections,
                expression: a!cardLayout(
                  contents: a!sideBySideLayout(
                    items: {
                      a!sideBySideItem(
                        item: a!richTextDisplayField(
                          labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                          value: a!richTextItem(
                            text: fv!item.name,
                            color: &amp;quot;ACCENT&amp;quot;,
                            size: &amp;quot;MEDIUM&amp;quot;,
                            style: if(
                              fv!index = local!activeNavSection,
                              &amp;quot;STRONG&amp;quot;,
                              &amp;quot;PLAIN&amp;quot;
                            )
                          )
                        )
                      )
                    },
                    alignVertical: &amp;quot;MIDDLE&amp;quot;
                  ),
                  link: a!dynamicLink(
                    value: fv!index,
                    saveInto: {local!activeNavSection,a!save(local!selectedSection,fv!item.name)}
                  ),
                  style: if(
                    fv!index = local!activeNavSection,
                    &amp;quot;ACCENT&amp;quot;,
                    &amp;quot;NONE&amp;quot;
                  ),
                  showBorder: false,
                  accessibilityText: if(
                    fv!index = local!activeNavSection,
                    fv!item.name &amp;amp; &amp;quot; &amp;quot; &amp;amp; &amp;quot;selected&amp;quot;,
                    &amp;quot;&amp;quot;
                  )
                )
              ),
              a!cardLayout(
                height: &amp;quot;TALL&amp;quot;,
                showWhen: not(a!isPageWidth(&amp;quot;PHONE&amp;quot;)),
                showBorder: false
              )
            },
            width: &amp;quot;NARROW&amp;quot;
          ),
          a!columnLayout(
            contents: {
              a!sectionLayout(
                label: local!selectedSection,
                contents: {
                  a!gridField(
                    data: a!recordData(
                      recordType: {},
                      filters: {
                        a!queryFilter(      
                        field: { &amp;quot;Your Status Field&amp;quot; },
                        operator: &amp;quot;=&amp;quot;,
                        value: local!selectedSection
                        )
                      }
                    )
                  )
                }
              )
            }
          )
        },
        spacing: &amp;quot;SPARSE&amp;quot;,
        showDividers: true
      )
    }
  )
}

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can skip few unnecessary parts in the expression.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>