Skip to main content

Add "Open Saved Queries" button to toolbar

Comments

3 comments

  • Permanently deleted user

    Hi Bobby Jo, 

     

    In the desktop.JSON (and tablet and handheld) you can change the order of the views in the "SimpleQueryBuilderViewContainerViewModel". In the "ordering" section change the order so that the "ListQueriesView" is first. Something like this:

     

                  "ordering": {

     

                    "QueryStatusMessageView": 1,

     

                    "SimpleQueryBuilderView": 2,

     

                    "ListQueriesView": 0,

     

                    "QueryActionsView": 3,

     

                    "SaveQueryView": 4

     

                     }

    That seemed to work for me.

    Ali

     

     
    0
  • Permanently deleted user
    This override does not work in GVH 2.9, at least in the toolbar (I haven't tried it in earlier versions). I notice that when I change the the ActivateView value from the default SimpleQueryBuilderView to ListQueriesView, a line is added to the configuration of the button:

     

    "items": [

     

                        {

     

                          "id": "ShowSimpleQueryBuilderButton",

     

                          "type": "button",

     

                          "iconUri": "Resources/Images/Icons/query-24.png",

     

                          "command": "ActivateView",

     

                          "commandParameter": "ListQueriesView",

     

                          "hideOnDisable": false,

     

                          "name": "@language-querybuilder-simple-title",

     

                          "tooltip": "@language-querybuilder-simple-tooltip"

     

                        },

     

    This would seem to suggest that the command to execute the default is happening someplace where we can't get to it and then the ListQueriesView is executing without clearing the area first. Is there a way to force the clear? Somehow that happens when the ListQueriesView is selected from the query action panel.

     

    Thanks,

     

    Martha
    0
  • Permanently deleted user
    not really a solution but what happens if you click the button twice? Does it then clear the view?
    0

Please sign in to leave a comment.