VertiGIS Studio Popups: Controlling What is in the Results
Hello,
I am working on transitioning a Geocortex Essentials to a VertiGIS Web, and in the existing viewer, we have an html text-only popup, and viewers have the option to go to expand mode where all the fields are displayed.
In VertiGIS, this translates into having both Results Summary and Results. In Results Summary, I know I am able to control what gets displayed as I can hide those elements. For example, I can set up an html text and select some fields in the ESRI Webmap, and only choose to display the html in the popup. The problem is that if I do that, then everything is going to be listed in the Results, as seen on the left. Is there anyway where I can only keep the results table in Results while having the html included in the Summary popup?
Thanks,
Jad
-
First off, very clever toolbar you made there... it looks very nice!
I don't know of any out-of-the-box solution here, but I've done something similar using a workflow with an Inject CSS activity in the past. Be sure to bind your selectors to details of this specific layer.
That option is kind of cheating, but it's pretty quick and the alternative is more complicated. You could run a workflow instead of results.display-details in the Results List or Results Table components, check the layer of the input result, then handle specific layers by first removing any unwanted popup elements before running the results.display-details command. That said, a recent update broke a bunch of my CSS bindings so maybe this is the way to go after all.
0 -
Jad Aljersh Hi, as a different question, how did you change the size of the pop up?
0 -
Hi Andreas Broothaerts , the popup size is automatically adjusted based on the size of your content/number of fields shown in each layer. In our case, I hid so many fields in the layer's settings so those are the only ones that show up besides the text.
I believe it's only possible to change the size of the results summary window. That's under the Services tab>Results.0
Please sign in to leave a comment.
Comments
3 comments