I Want To Menu Batch Command
Hi,
I am trying to do a batch command on the I want to menu in HTML 2.11.2 and essentials 4.10.1. I can get the individual tools to work, but when adding them to a batch command they won't work.
My desktop.json file has...
{
"iconUri": "Resources/Images/Icons/Toolbar/trash-24.png",
"text": "Clear results",
"description": "myBatchCommand",
"commandParameter": null,
"batch": [
{
"command": "ClearSelection",
"commandParameter": null
},
{
"command": "ClearHighlights",
"commandParameter": null
}
]
},
The indivual tools that work are:
{
"text": "Clear Selection",
"command": "ClearSelection",
"commandParameter": null
},
{
"iconUri": "Resources\\Images\\Icons\\Toolbar\\erase-24.png",
"text": "Clear highlights",
"command": "ClearHighlights",
"commandParameter": ""
},
What am I doing wrong? Do batch commands not work from the I Want To Menu? I need to clear the selection results from the identify and the highlights in one step.
Thank you!
Belinda
0
-
Hi Belinda,
Your json works for me. (essentials 4.10.1.61 and viewer 2.11.1.1543)
Also see: ( you could try adding as a workflow instead of direct eding the .json)
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=90660000000PE0hAAG0 -
Hi Belinda,
I noticed this entry in the GVH 2.12 release notes:
BUG 20710 Batch commands in the I Want To Menu fail if Analytics Integration is enabled.
If you have Analytics installed, can you try disabling it for this viewer temporarily and see if the batch command starts working?
If it does, I recommend upgrading to GVH 2.12 to avoid this issue!
Regards,
-Malcolm0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer