Select to view content in your preferred language

Popup Panel widget using selected features

385
1
03-03-2019 08:58 PM
IanHamilton2
Occasional Contributor

H iRobert, I would be interested in knowing your thought on the following.

I would like to create similar functionality to the Popup Panel widget but instead using selected features from a single layer. The feature info would then be displayed in html format, attributes and attachments.

Is the Popup Panel widget you have created a good starting point?

I am coming from a starting point of having a python script that returns a dynamic html page which I have been serving directly. I was going to create a geoprocessing service which would return html content and display this as output (if this is possible)? but then I noticed your Popup Panel Widget.

Alternatively, if there are other widgets that can display html, I could perhaps start from there?

Obviously, I need a bit of high level direction.

Many thanks for any help,

Ian

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Ian,

  No the popup panel is not really a good fit for a starting point. Based on what you are trying to do I would start with the SampleWidgets Demo widget and add a ContentPane to the widget.html. A ContentPane will render html content well.

dijit/layout/ContentPane — The Dojo Toolkit - Reference Guide