How to hide the banner in the Geocortex (as hide toolbar)?
I am lookig for a way to make the end user able to hide the banner in the Geocortex (as hide toolbar), Is it possible?
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000TSKJ&feoid=Body&refid=0EM60000000LvFI" _/_img_
Thank you in advance.
Best,
Majdoleen
0
-
You can use the DeactivateView command with the parameter BannerView. Conversely, you can use ActivateView to show the banner again.
You can call this directly in the I Want To menu or in a Home Panel link, or you can use a workflow that uses a Run External Command activity. The latter is a nice option if you want to write a workflow that toggles the banner (on if it's off and off if it's on) by combining those commands with an external value that stores the status of the view.0 -
Thank you John, really appreciate, but the work flow only works with GVH and not with GVS.
What might be the issue?
Note: I've only used the run external command in my workflow.
Best,
Majdoleen0 -
Unfortunitly, I am not a developer, and I want to active and deactive the banner from the same workflow!
I've tried the workflow below and don't know what to write in the condition?
Any help?
Thank you in advance.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000TTyA&feoid=Body&refid=0EM60000000LvSl" _/_img_
Best,
Majdoleen0 -
I use an external value to do this. Basically, I store either the value 0 (off) or 1 (on) on the client. Based on the value, the workflow toggles the view and switches the external value so that the next time the workflow runs it will toggle the view to the opposite state.
Here's a copy of the workflow. It toggles the IWantToMenuView, but you can simply change the value of the targetView variable to BannerView or whatever other view you want to build a toggling tool for.
https://drive.google.com/open?id=0B_hHHiqcTKMfUUVLME41R0s0Vm80 -
As far as the GVS, there might be a similar command to toggle views, but I don't know. All of my viewers, workflows, etc. are for the GVH. 0 -
Thank you John,
Really appreciate.
Best,
Majdoleen0 -
But how to hide it at application startup to secure more space for the map? 0 -
You could either use the DeactivateView external command in a startup workflow or, better yet, disable the banner in your viewer settings in GE Manager.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000Cfsl&feoid=Body&refid=0EM600000001QVD"_/_img_0 -
Thanks John,
Disabling the banner from the manager will eliminate the chance to show it by the end-user in case we need to display it.
We still need to hide it at application startup but with the chance to show it by the end-user0 -
I just tested the workflow I posted back in March, and it works for toggling the banner view. All you have to do is change the default targetView variable value to "BannerView" and the default externalValue variable value to 1.
The second change is because the default state of the banner is on, whereas the workflow was originally designed to open the I Want To menu, which has a default state of off.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
10 kommentarer