Skip to main content

Launch Map with Toolbar Open

Comments

8 comments

  • Nico Burgerhart

    There is a toolbarOpenByDefault in the viewer configuration files (Desktop.json.js etc).

    To open the toolbar when the viewer starts, set to true; otherwise, set to false. The default is false.

    There is also a ToggleToolbar command, you can run this from a workflow.

     

    0
  • Permanently deleted user

    Thanks Nico - I have searched my Desktop.json.js file and can't find ToolbarOpenByDefault

    I found a MainToolbarView - and I set visible to "true", but then the "I want to..." button sits on top of that in my viewer...

     

    https://sgis.wellington.ca/Html5Viewer_2_0/?viewer=businessdirector

    Thoughts?

    Paul

    0
  • Nico Burgerhart

    In 2.2 it is in the MainToolbarViewModel part:

     

                        {

     

                            "id": "MainToolbarViewModel",

     

                            "type": "geocortex.essentialsHtmlViewer.mapping.modules.toolbar.ToolbarViewModel",

     

                            "configuration": {

     

                                "toolbarGroupRefs": [

     

                                    "ToolsTab"

     

                                ],

     

                                "toolbarOpenByDefault": false

     

                            }

     

                        }

     

     
    0
  • Permanently deleted user

    Hi Paul -

    As Nico has advised, the HTML5 Viewer 2.2+ contains an attribute called "toolbarOpenByDefault".  This attribute can be activated in any of three ways:  (1) through the configuration file; (2) through a workflow; or (3) through the UI (at the Viewer|Toolbar tab).

    It appears that you are currently operating HTML5 Viewer 2.0.  Please note that the "toolbarOpenByDefault" attribute was introduced in HTML5 Viewer 2.2.

    Regards,

    Steve Chapman

     

    0
  • Permanently deleted user

    Hi,

    I have set toolbarOpenByDefault to TRUE and the toolbar does not default to open (Editing Desktop only).

    Any help would be much appreciated.

    Cheers,

    0
  • Permanently deleted user

    Hi Stephen,

    Use the interface to set it for you:

    /customer/servlet/servlet.FileDownload?file=00P6000000elu5ZEAQ

    0
  • Permanently deleted user

    ... or for the HTML viewer:

    /customer/servlet/servlet.FileDownload?file=00P6000000elzSuEAI

     

    0
  • Permanently deleted user

    Hey Brett,

    Working on the HTML5 Viewer. I have done this and there is no change. The toolbar does not default open in the preview either.

    Cheers,

    0

Please sign in to leave a comment.