Hi there, I'm trying to replicate things in EB that I used to do in WAB and have been helped massively by a colleague who's helped me create 'Windows' as a means to run various widgets, which otherwise wouldn’t display properly. Anyway, the way I’m doing it is by using a ‘Button’ in the ‘Widget controller’ to open a new ‘Window’. My problem is that instead of opening a ‘Window’, when I click on the ‘Button’, it opens a pop-up where I then have to click to open the ‘Window’. I don’t understand why clicking on the ‘Button’ doesn’t just open the ‘Window’ and wonder whether there is a way to do this. I'm using AGOL.
Hi @SimonCrutchley,
Have you tried setting the button to navigate to a new page or view with preloaded content. Views are basically navigable windows within a frame and therefore will automatically load whatever information is in that view. View navigation.
The pages are another method but if it is something that is fairly small then a view would make the most sense. If you need more details on how to set that up I can go into further detail.
Hi there,
Thanks for that, but I would like a bit more help. I've tried using views in the past, but I always get a 'Save error' so can't get them to work. I could give a bit more of an explanation as to what I'm trying to do, if that would help?
Yes. That would help a lot in terms of troubleshooting any issues and the end result you are trying to reach.
@SimonCrutchley, I assume just putting the widget in the widget controller (no intermediate button widget linked to window) is something you've tried? If not, I'd start there. You can configure the widget controller a couple different ways, but essentially you get a window/pop-up with the tool.
If you have multiple components that make up a "tool" (say, a legend widget but you also have some text to go with the legend widget), you can put everything in a layout widget and then put that in the widget controller.
Hi both,
Thanks for your input. I tried the basic widget in a widget controller, but had issues with data selection not working properly; that said I'm having issues with the windows version so I made need to come back with that too.
It may be simplest if I point you to the two current apps I'm running, which I built under WAB, and you can see what I'm trying to do. I can go into more detail once you've had a look.
https://historicengland.org.uk/research/results/aerial-archaeology-mapping-explorer/
https://historicengland.org.uk/images-books/archive/collections/aerial-photos/ more specifically the 'Full screen' version https://historicengland.maps.arcgis.com/apps/webappviewer/index.html?id=2626ed0c37484d96b8954dd33187...
Thanks
Hi @SimonCrutchley,
Please let me know if the below description of the result you are trying to achieve is correct.
I am not sure if I may have asked for all possible capabilities that you have or if there are additional capabilities. If the answer to the above questions is the direction you are trying to get to then the view/page option/cards might be your best bet. I forgot to mention that the cards can be used to link to different records within the data so long as you set them to connect to the data.
Not quite; I want the button to take me directly to where I can run various different queries based on a mixture of attribute data and spatial queries i.e. basically the query widget. From that users get a selection of results as a filmstrip, which they can then scroll through to find the relevant feature/point for which they want the image or the report.
I also want to have access to the ‘layers’ widget for two different sets of data within the map.
Doing this through the widget controller alone was proving problematic.
Does that help?
That makes it a lot easier to understand and work with. So there are a couple of ways to go about this but it is a bit in depth:
These should get you some idea and perhaps close to your desired result but play around with it and see which one works best for both you and your end users. Ideally the easier to navigate the better.
Thanks for that. There's a lot to digest, so I'll be spending some time to see which works best.
Cheers