4 Replies Latest reply: Jun 17, 2014 4:23 PM by Rick Westbrock RSS

    Navigation initial state - vertical navigation bar

    Abhishek Sukumar

      Hi Flks,

       

      Is there an action or run process that will automatically expand a vertical navigation field upon window load?  The Navigation Initial state option does force a particular sub-items and its siblings to be visible, but then that option is underlined in the user tool.

       

      To be clear on what I mean, if the current behavior of the nav bar is to display:

       

      - Help Desk Cases

      - Tools

       

      Is there an action that will automatically expand the menu so users don't have to click on the headers to see:

       

      - Help Desk Cases

        New

        Search

      - Tools

        Bulletin Board

        Reminders

        Reporting

       

      ARS 7.1, ITSM 6.0

       

      Thanks,

      Abhi

        • 1. Navigation initial state - vertical navigation bar
          Abhishek Sukumar

          Can someone look into this and help me with it, please.

           

          Thanks,

          Abhi

          • 2. Navigation initial state - vertical navigation bar
            Jack NameToUpdate

            You can use an Active Link with the following command

             

            PERFORM-ACTION-NAV-FIELD-SET-SELECTED-ITEM 99999999999

             

             

            The 9999999999 must be replaced with the field ID of teh field you want to gain focus on, it does not seem to work with field name.

            Regards

            • 3. Re: Navigation initial state - vertical navigation bar
              Rick Westbrock

              I have the requirement that both menus on my vertical navigation field (custom form) are expanded on window open. I set the Navigational Initial State to the first menu which expands fine. However when added an active link to fire PERFORM-ACTION-NAV-FIELD-SET-SELECTED-ITEM 536870876 on window open to expand the second menu the result was that both menus were collapsed instead.

               

              Before I added that active link I could just click the second menu (field ID 536870876) and it would expand while the first menu would remain expanded. Any idea if this is expected behavior? I am running ARS 7.1.0 Patch 011 so it could be version-specific behavior.

              • 4. Re: Navigation initial state - vertical navigation bar
                Rick Westbrock

                Apparently I was too hasty to post my question. As soon as I posted it I figured out that I had misread the command and changed it to the field ID of one of the menu items instead of the menu itself. This caused the menu to expand on window open as expected but then the menu specified in the Navigational Initial State was collapsed.

                 

                My solution was to add a second run process command against a menu item in the first menu so now on window open both menus are expanded which was my goal. Apologies to anyone who read my monologue here and didn't pick up anything useful, I'll just put a five minute wait timer on future posts like this to prevent talking to myself quite as often.