The LocalLayer Widget for ArcGIS Web AppBuilder is intended to allow the direct addition of ArcGIS for Server Mapservices to an ArcGIS Web AppBuilder application, without needing to wrap the desired services in an ArcGIS Online/Portal Web Map.
MIT License
55
stars
26
forks
source link
Problems embedding an iframe in an infoWindow when using attribute substitution #27
I'm seeing a problem when trying to embed an iframe within an infoWindow, attached to a dynamic layer specified via the Local Layer Widget.
I've put this as the Custom source for the popup:
iframe src="http://localhost/reports/pages/{GISID}"
a href="http://localhost/reports/pages/{GISID}"
where {GISID} is a valid field within the dynamic layer. The attribute substitution for the anchor tag works correctly:
`a href="http://localhost/reports/pages/1090390" target="_blank">Open report in new tab
... but the substitution for the iframe src includes a
span
tag:iframe src="http://localhost/reports/pages/<span class='esriNumericValue'>1090390</span>"></iframe
Is this something you have control over in the Local Layer Widget, or is it a problem introduced by the WAB?
thanks