<?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>Menu with sub-menu</title><link>https://community.appian.com/discussions/f/user-interface/14464/menu-with-sub-menu</link><description>Rather than using related actions I want to create my own navigation bar. It looks like this 
 
 The problem that I am having is the the two center menu items need to have sub-menu. Both the Edit and Add menu items were easy to implement with a start</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65018?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 13:00:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8160c3f8-a4f3-4e3e-afd4-5c6247d40780</guid><dc:creator>helmuta</dc:creator><description>That is what I did Stewart.  Change it to a cardlayout and since my background will have color it will hide the border nicely.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65017?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 12:54:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e60c4926-a3da-4f7e-b6c0-bf6690d793dc</guid><dc:creator>Stewart Burchell</dc:creator><description>You could try substituting the a!boxLayout() components with a!cardLayout()&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65016?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 12:50:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84eb205a-a362-4f60-a76b-34e305db227d</guid><dc:creator>helmuta</dc:creator><description>Works like a champ Stewart.  Need to see if there is another structure that might give me the same functionality as the boxlayout because I&amp;#39;m not sure if my users will like the border.  Really appreciate your help.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65015?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 12:31:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c925de4d-5b7f-494f-8e7f-21f2e731c6b6</guid><dc:creator>helmuta</dc:creator><description>Thanks Stewart.  I will play with it and see what is possible.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65014?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 12:30:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:683742f3-4e86-4bcd-8c5c-869c50f4a5ed</guid><dc:creator>helmuta</dc:creator><description>Thanks Mike&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65009?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 08:19:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c7cb5eaf-5475-4a70-8574-270106944308</guid><dc:creator>Stewart Burchell</dc:creator><description>Unfortunately the a!sideBySideItem() won&amp;#39;t take layout components as of 19.1. I&amp;#39;d suggest you re-structure the whole thing as a pair of a!columnsLayout() and use a!dynamicLink() to toggle the value of a local! Boolean variable, and use that as the value for the showWhen of an a!boxLayout(), which you can then use as the container for your sub-menu. Here&amp;#39;s what I mean:&lt;br /&gt;
&lt;br /&gt;
load(&lt;br /&gt;
  local!promo: null,&lt;br /&gt;
  local!isMenu1Enabled: false,&lt;br /&gt;
  local!isMenu2Enabled: false,&lt;br /&gt;
  {&lt;br /&gt;
    a!columnsLayout(&lt;br /&gt;
      columns: {&lt;br /&gt;
        a!columnLayout(&lt;br /&gt;
          contents: {&lt;br /&gt;
            a!richTextDisplayField(&lt;br /&gt;
              value: {&lt;br /&gt;
                a!richTextItem(&lt;br /&gt;
                  text: &amp;quot; Edit Promotion Details &amp;quot;,&lt;br /&gt;
                  link: a!startProcessLink()&lt;br /&gt;
                )&lt;br /&gt;
              }&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
        ),&lt;br /&gt;
        a!columnLayout(&lt;br /&gt;
          contents: {&lt;br /&gt;
            a!richTextDisplayField(&lt;br /&gt;
              value: {&lt;br /&gt;
                a!richTextItem(&lt;br /&gt;
                  text: &amp;quot; Request &amp;amp; Manage Estimates &amp;quot;,&lt;br /&gt;
                  link: a!dynamicLink(&lt;br /&gt;
                    value: fn!not(local!isMenu1Enabled),&lt;br /&gt;
                    saveInto: {&lt;br /&gt;
                      local!isMenu1Enabled,&lt;br /&gt;
                      a!save(&lt;br /&gt;
                        local!isMenu2Enabled,&lt;br /&gt;
                        false&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;
        a!columnLayout(&lt;br /&gt;
          contents: {&lt;br /&gt;
            a!richTextDisplayField(&lt;br /&gt;
              value: {&lt;br /&gt;
                a!richTextItem(&lt;br /&gt;
                  text: &amp;quot; Request &amp;amp; Manage Rules &amp;quot;,&lt;br /&gt;
                  link: a!dynamicLink(&lt;br /&gt;
                    value: fn!not(local!isMenu2Enabled),&lt;br /&gt;
                    saveInto: {&lt;br /&gt;
                      local!isMenu2Enabled,&lt;br /&gt;
                      a!save(&lt;br /&gt;
                        &lt;br /&gt;
                        local!isMenu1Enabled,&lt;br /&gt;
                        false&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;
        a!columnLayout(&lt;br /&gt;
          contents: {&lt;br /&gt;
            a!richTextDisplayField(&lt;br /&gt;
              value: {&lt;br /&gt;
                a!richTextItem(&lt;br /&gt;
                  text: &amp;quot; Add Attachments &amp;quot;,&lt;br /&gt;
                  link: a!startProcessLink()&lt;br /&gt;
                )&lt;br /&gt;
              }&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
        )&lt;br /&gt;
      }&lt;br /&gt;
    ),&lt;br /&gt;
    a!columnsLayout(&lt;br /&gt;
      columns: {&lt;br /&gt;
        a!columnLayout(&lt;br /&gt;
          contents: {}&lt;br /&gt;
        ),&lt;br /&gt;
        a!columnLayout(&lt;br /&gt;
          contents: {&lt;br /&gt;
            a!boxLayout(&lt;br /&gt;
              label: &amp;quot;Sub Menu&amp;quot;,&lt;br /&gt;
              showWhen: local!isMenu1Enabled&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
        ),&lt;br /&gt;
        a!columnLayout(&lt;br /&gt;
          contents: {&lt;br /&gt;
            a!boxLayout(&lt;br /&gt;
              label: &amp;quot;Sub Menu&amp;quot;,&lt;br /&gt;
              showWhen: local!isMenu2Enabled&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
        ),&lt;br /&gt;
        a!columnLayout(&lt;br /&gt;
          contents: {}&lt;br /&gt;
        )&lt;br /&gt;
      }&lt;br /&gt;
    )&lt;br /&gt;
  }&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Menu with sub-menu</title><link>https://community.appian.com/thread/65004?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 21:18:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c6e33551-2cd8-4582-823e-36268c293231</guid><dc:creator>Mike Schmitt</dc:creator><description>Appian doesn&amp;#39;t really have drop-down submenus like you&amp;#39;re thinking of, but you could probably come up with something pretty nice looking if you use either a!boxLayout or a!cardLayout just below that bar where clicking one of the two items in question causes the box/card to open, in which you could easily have a list of items like links/etc.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>