Skip to main content

Toggle IWantToMenu

Comments

6 comments

  • John Nerge
    Try adding this command to your home panel.

     

    <a href="command:ActivateView?IWantToMenuView">Your text here</a>
    0
  • Permanently deleted user
    Hi John,

     

    Thanks for the help. It seems it does toggle the I Want To menu. It only opens up and when I click it again. The I Want to menu still open and not close.

     

    Wayne
    0
  • Permanently deleted user
    Hi John,

     

    Thanks for the help. It seems the command activates  the I Want To menu.  It  opens up and when I click it again. The I Want to menu still open and not close. Is that anything I can do to make it toggle?

     

    Thanks again

     

    Wayne
    0
  • John Nerge

     

    So you want the first click to open the I want to menu and the next click to close it, and so on? If so, then you can use this workflow:

     

    https://drive.google.com/open?id=0B_hHHiqcTKMfUUVLME41R0s0Vm8

     

    It uses the Get/Set External Value activities to store an integer (0 or 1) on the client that represent the state of the view. It assumes the view is inactive by default.

     

    The first click on the link sets the external value to 1 and activates the view. The second click sets the external value to 0 and deactivates the view. By toggling the external value each time, the client can tell the workflow which way to toggle the view.

     

    The last pieces are to add the workflow to your site and this link code to your Home Panel:

     

    <a href="command:RunWorkflowById?Your Workflow Name">Your Text Here</a>
    0
  • Permanently deleted user
    Great workflow John, this is really useful!

     

    Cheers!
    0
  • Permanently deleted user
    John,

     

    Thanks for the workflow. Yes, it works exellent.

     

    Wayne
    0

Please sign in to leave a comment.