<?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>Display a hierarchy  data in Appian with option to select with a checkbox</title><link>https://community.appian.com/discussions/f/user-interface/11722/display-a-hierarchy-data-in-appian-with-option-to-select-with-a-checkbox</link><description>Hello All, 
 We have a requirement to create like below hierarchy structure .If any one has tried some thing like below Please help . 
 
 -parent1 
 
 +Son 
 +Son 
 -Son 
 -Grandson ◊ 
 -grandson ◊ 
 -grandson ◊ 
 +Son 
 
 +Parent2 
 +Parent3 
 
 + are</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Display a hierarchy  data in Appian with option to select with a checkbox</title><link>https://community.appian.com/thread/61198?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 23:01:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:302ffb65-53a1-4143-bb21-d8701e379315</guid><dc:creator>siddharths</dc:creator><description>Hi Manish,&lt;br /&gt;
&lt;br /&gt;
how did u achieve this finally. I am also looking for something like this. &lt;br /&gt;
the browser column component can view only one hierarchy at a time, but i need the option to expand multiple hierarchies at the same time.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display a hierarchy  data in Appian with option to select with a checkbox</title><link>https://community.appian.com/thread/51798?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 08:08:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea2c79f3-358b-40b1-8c33-9d710487d9f9</guid><dc:creator>manishk0001</dc:creator><description>Thanks Ashok ..  Appreciate your suggestion .I need to make it a dynamic . Based on of our dataset we have to create the hierarchy.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display a hierarchy  data in Appian with option to select with a checkbox</title><link>https://community.appian.com/thread/51796?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2018 04:02:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:022cd2f7-0e9f-49ed-9567-cd2f55b9bb31</guid><dc:creator>ashokv</dc:creator><description>Hi Mahesh. Below is a sample code. Check if it meets ur req.&lt;br /&gt;
&lt;br /&gt;
=load(&lt;br /&gt;
  local!son1:false(),&lt;br /&gt;
  local!son2:false(),&lt;br /&gt;
  local!grandson,&lt;br /&gt;
a!formLayout(&lt;br /&gt;
  label: &amp;quot;Sample section&amp;quot;,&lt;br /&gt;
  instructions: &amp;quot;Contains various components&amp;quot;,&lt;br /&gt;
  contents: {&lt;br /&gt;
    a!sectionLayout(&lt;br /&gt;
      label: &amp;quot;Parent1&amp;quot;,&lt;br /&gt;
      contents: {        &lt;br /&gt;
        &lt;br /&gt;
        if(local!son1,{&lt;br /&gt;
          &lt;br /&gt;
          a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(-) Son 1&amp;quot;,&lt;br /&gt;
              value:false(),&lt;br /&gt;
              saveInto:local!son1&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          ),&lt;br /&gt;
          a!checkboxField(&lt;br /&gt;
            choiceLabels:cons!TEST_CHECKBOX,&lt;br /&gt;
            choiceValues:cons!TEST_CHECKBOX,&lt;br /&gt;
            value:local!grandson,&lt;br /&gt;
            saveInto:local!grandson&lt;br /&gt;
          )&lt;br /&gt;
        },{&lt;br /&gt;
        &lt;br /&gt;
        a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(+) Son 1&amp;quot;,&lt;br /&gt;
              value:true(),&lt;br /&gt;
              saveInto:local!son1&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          ),&lt;br /&gt;
         }&lt;br /&gt;
        ),       &lt;br /&gt;
        if(local!son2,{&lt;br /&gt;
          &lt;br /&gt;
          a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(-) Son 2&amp;quot;,&lt;br /&gt;
              value:false(),&lt;br /&gt;
              saveInto:local!son2&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          ),&lt;br /&gt;
          a!checkboxField(&lt;br /&gt;
            choiceLabels:cons!TEST_CHECKBOX,&lt;br /&gt;
            choiceValues:cons!TEST_CHECKBOX,&lt;br /&gt;
            value:local!grandson,&lt;br /&gt;
            saveInto:local!grandson&lt;br /&gt;
          )&lt;br /&gt;
        },{&lt;br /&gt;
        &lt;br /&gt;
        a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(+) Son 2&amp;quot;,&lt;br /&gt;
              value:true(),&lt;br /&gt;
              saveInto:local!son2&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          )&lt;br /&gt;
         }&lt;br /&gt;
        )&lt;br /&gt;
        &lt;br /&gt;
      },&lt;br /&gt;
      isCollapsible:true()&lt;br /&gt;
    ),&lt;br /&gt;
   a!sectionLayout(&lt;br /&gt;
      label: &amp;quot;Parent 2&amp;quot;,&lt;br /&gt;
      contents: {&lt;br /&gt;
        if(local!son1,{&lt;br /&gt;
          &lt;br /&gt;
          a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(-) Son 1&amp;quot;,&lt;br /&gt;
              value:false(),&lt;br /&gt;
              saveInto:local!son1&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          ),&lt;br /&gt;
          a!checkboxField(&lt;br /&gt;
            choiceLabels:cons!TEST_CHECKBOX,&lt;br /&gt;
            choiceValues:cons!TEST_CHECKBOX,&lt;br /&gt;
            value:local!grandson,&lt;br /&gt;
            saveInto:local!grandson&lt;br /&gt;
          )&lt;br /&gt;
        },{&lt;br /&gt;
        &lt;br /&gt;
        a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(+) Son 1&amp;quot;,&lt;br /&gt;
              value:true(),&lt;br /&gt;
              saveInto:local!son1&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          ),&lt;br /&gt;
         }&lt;br /&gt;
        ),       &lt;br /&gt;
        if(local!son2,{&lt;br /&gt;
          &lt;br /&gt;
          a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(-) Son 2&amp;quot;,&lt;br /&gt;
              value:false(),&lt;br /&gt;
              saveInto:local!son2&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          ),&lt;br /&gt;
          a!checkboxField(&lt;br /&gt;
            choiceLabels:cons!TEST_CHECKBOX,&lt;br /&gt;
            choiceValues:cons!TEST_CHECKBOX,&lt;br /&gt;
            value:local!grandson,&lt;br /&gt;
            saveInto:local!grandson&lt;br /&gt;
          )&lt;br /&gt;
        },{&lt;br /&gt;
        &lt;br /&gt;
        a!linkField(&lt;br /&gt;
            &lt;br /&gt;
            links:{a!dynamicLink(              &lt;br /&gt;
              label:&amp;quot;(+) Son 2&amp;quot;,&lt;br /&gt;
              value:true(),&lt;br /&gt;
              saveInto:local!son2&lt;br /&gt;
            )&lt;br /&gt;
            }&lt;br /&gt;
           &lt;br /&gt;
          )&lt;br /&gt;
         }&lt;br /&gt;
        )        &lt;br /&gt;
      },&lt;br /&gt;
      isCollapsible:true()&lt;br /&gt;
    )&lt;br /&gt;
  },&lt;br /&gt;
  buttons: a!buttonLayout(&lt;br /&gt;
    primaryButtons: {&lt;br /&gt;
      a!buttonWidgetSubmit(&lt;br /&gt;
        label: &amp;quot;Submit&amp;quot;,&lt;br /&gt;
        style: &amp;quot;PRIMARY&amp;quot;,&lt;br /&gt;
        saveInto: {}&lt;br /&gt;
      )&lt;br /&gt;
    },&lt;br /&gt;
    secondaryButtons: {&lt;br /&gt;
      a!buttonWidgetSubmit(&lt;br /&gt;
        label: &amp;quot;Cancel&amp;quot;,&lt;br /&gt;
        style: &amp;quot;NORMAL&amp;quot;,&lt;br /&gt;
        value: true,&lt;br /&gt;
        saveInto: ri!cancel,&lt;br /&gt;
        skipValidation: true&lt;br /&gt;
      )&lt;br /&gt;
    }&lt;br /&gt;
  ),&lt;br /&gt;
  validations: {}&lt;br /&gt;
)&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>