<?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>Calling an interface using card as button pattern</title><link>https://community.appian.com/discussions/f/user-interface/26365/calling-an-interface-using-card-as-button-pattern</link><description>Hi There, 
 I’m trying to use card as buttons pattern to call an interface. 
 Interface is having gridfield used inside a!headerContentLayout() to display task lists. 
 However, I’m not sure how can I call call this interface using card as buttons pattern</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103477?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 06:18:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ab17b19f-f85a-4980-b8c1-278b0b36c414</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Yes, It woked for you ?&lt;/p&gt;
&lt;p&gt;And always try to use the code box whenever you share the code.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1666765199708v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103476?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 06:16:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2371f26-ecdf-4292-bb65-a86cf81f8cab</guid><dc:creator>beenav6123</dc:creator><description>&lt;p&gt;Thanks much for the sample. In the above sample you are trying to display richtext upon selecting a card isn;t it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103475?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 05:31:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18fa7095-7997-4771-8f01-ce274eae8fb8</guid><dc:creator>beenav6123</dc:creator><description>&lt;p&gt;I have uploaded my sample code here for reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103473?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 05:30:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ebd69fc3-4cb7-4d73-972d-23101aa6aab1</guid><dc:creator>beenav6123</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Interface-1-image1.jpeg" /&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Interface1-Image2.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Interface2.jpeg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103471?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 05:23:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81d66d4b-0c6f-4f94-b99b-a18358870587</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Check this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!showNewInterface,
  {
    
    a!cardChoiceField(
      label: &amp;quot;Card Choices&amp;quot;,
      data: {
        a!map(id: 1, icon: &amp;quot;smile-o&amp;quot;, primaryText: &amp;quot;Good&amp;quot;, secondaryText: &amp;quot;I enjoyed my experience!&amp;quot;, showTask:true()),
        a!map(id: 2, icon: &amp;quot;meh-o&amp;quot;, primaryText: &amp;quot;Neutral&amp;quot;, secondaryText: &amp;quot;My experience was okay.&amp;quot;, showTask:false()),
        
      },
      cardTemplate: a!cardTemplateTile(
        id: fv!data.id,
        primaryText: fv!data.primaryText,
        secondaryText: fv!data.secondaryText,
        icon: fv!data.icon
      ),
      value: local!showNewInterface,
      saveInto: a!save(
        local!showNewInterface,
        save!value
      ),
      maxSelections: 1,
      validations: {}
    ),
    choose(
      local!showNewInterface,
      a!cardLayout(
        contents: a!richTextDisplayField(
          label: &amp;quot;I am happy Card&amp;quot;
        ),

      ),
      a!cardLayout(
        contents: a!richTextDisplayField(
          label: &amp;quot;I am neutral Card&amp;quot;
        )
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103467?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 04:55:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e547fbc-df6f-487f-8b16-934a47ab3310</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Yes, sure if you can share your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103466?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 04:48:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de7d9bd2-fbe4-4463-a28a-7276971fb715</guid><dc:creator>beenav6123</dc:creator><description>&lt;p&gt;Hi Ujjwal &lt;/p&gt;
&lt;p&gt;Thanks for the response. &lt;/p&gt;
&lt;p&gt;It’s only one interface containing task list.&lt;/p&gt;
&lt;p&gt;I tried setting Boolean to true when clicking dynamic link and called interface in the contents section. It’s still not working. &lt;/p&gt;
&lt;p&gt;Will you be able to help with any sample please ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an interface using card as button pattern</title><link>https://community.appian.com/thread/103460?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 02:09:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:365b0487-5cc9-4406-a42a-f7c34223fc82</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Hi, As far as I understood you want to display different interfaces on clicking a card.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. You can simply set a boolean when true you display a grid and when false you display a task list and vice versa.&lt;/p&gt;
&lt;p&gt;2. You can use the &lt;a href="https://docs.appian.com/suite/help/22.3/fnc_logical_choose.html"&gt;choose&lt;/a&gt;&amp;nbsp;function to navigate between multiple interfaces&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/22.3/navigation-patterns.html"&gt;https://docs.appian.com/suite/help/22.3/navigation-patterns.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>