Closing the results list?
Folks,
is there a way to enable a way to close the Results list, without having the user switch to the table view.. (GVH 2.4)
there is no 'close' button on the Results List dialog, yet there is on the Tabular version.
/customer/servlet/servlet.FileDownload?file=00P6000000elzftEAA
table view...
/customer/servlet/servlet.FileDownload?file=00P6000000em17lEAA
cheers
GF
-
Hello Gareth,
The resulting json file should look similar to mine (for reference):
The end result in your viewer will be a close button within the configurable actions menu of the results list.
/customer/servlet/servlet.FileDownload?file=00P6000000eluDDEAY
Hopefully this helped out, let me know if you have any questions or if this solution doesn't fit your needs.
0 -
Thanks Corey for the quick respopnse.
I'll give this a go. A good start - and the close button will be a welcome addition in a future release so thanks for adding to the list...
cheers
Gareth
0 -
Thanks Corey
That's a useful workaround. Will give that a go ourselves.
0 -
I found that the command "DeactivateView" actually worked better for me. When using "DestroyView", after I hit the close button, I was no longer able to identify features with map tips. Also for some reason, when I identified multiple features at once, the close button wouldn't work with "DestroyView" but it would with "DeactivateView".
0 -
Robert,
nice pick up! thanks for that.... I can confirm I'm seeing the same behaviour, so have swapped over to the 'DeactivateView' also....
0 -
Cheers Robert!
Saved me some research this morningI I have noticed some wierd behaviour when closing the results using 'DestroyView' will try your solution.
Cheers
Chris
0 -
I had this problem too and also the problem that even when I used "DeactivateView" the layerlist stayed open. Put in a "CloseDataFrame" after the "Deactivate..." and the layerlist closes too.
0 -
My workaround was to switch the ResultsListView region to the FeatureEditingContainerRegion since I'm not using it (all of the layers in my viewer are read-only). That region includes a back arrow in the upper left corner that closes the view.
I also updated the region for the FeatureDetailsCompactView to use the same one so it has a back arrow too that goes back to the results view.
0 -
/customer/servlet/servlet.FileDownload?file=00P6000000em1ENEAY
Hello all,
My question is if there is a way to disable the "Switch to table" menu. I want users to have less options. I noticed that after i used switch to table tool then i have to switch back using "Switch to list" to make the list function work again. If I just use "X" to close the window and my tool in "I want to" menu will not get query result displayed. I tried to add steps in my workflow but none of them worked.
Also is there a way to select field which displays as title for the query results? I did not find a place in manager which allow me to change it.
/customer/servlet/servlet.FileDownload?file=00P6000000elttXEAQ
Thanks
Yinghong Li
City of Austin
0 -
An easy way to remove the Switch to Table option on identify results is simply to review it from your results list action options. To do that,
- open your viewer config file (ex. Desktop.json.js)
- search for ResultsListActions
- under the items section, comment out or delete the item that runs the ShowResultsTable command
For your results title, you need to assign your Feature Label in Rest Manager under the map layer's Details tab.
0 -
Thanks for the reply.
I tried to change the config file. However the viewer stopped to start. Forgive me for my slow understanding. I do not know which part to comment out.
{
"text": "@language-results-toggle-table-view",
"description": "@language-results-toggle-table-view-desc",
"libraryId": "Mapping.Infrastructure",
"hideOnDisable": true,
"batch": [
{
"command": "ShowResultsTable",
"commandParameter": "{{context}}",
"abortBatchOnFailure": true
},
{
"command": "CloseDataFrame"
}
]
},
I tried to comment out the whole section listed above or just batch section. None of them worked. Please help.
0 -
It is my understanding that it is not possible to comment out sections of code in a json file, as its not supported. You will need to delete the section you want to disable.
Cheers
Chris
0 -
Thanks Chris. That worked.
0 -
+1 and bonus for making the results list look more like the following/customer/servlet/servlet.FileDownload?file=00P6000000em1jkEAA
0 -
Hi
The solution I found will provide a back button on the results list, without having to change the region :
/customer/servlet/servlet.FileDownload?file=00P6000000elzmHEAQ
--------------------------------
{
0 -
Any ideas how to get the results list, home panel, layer list on the right side of the screen rather than left in HTML 5 viewer? I think SL had the option to float right or left...
0 -
Awesome find, Lisa, thanks!
Cattyann, there's a region called the RightPanelRegion you could try moving your results list, home panel, and layer list to.
0 -
i think the json file has changed i cannot follow this post and achieve the close view entry like i want. whats the trick for the new json format.
0
Please sign in to leave a comment.
Comments
18 comments