Home
All Communities
Products
Developers
Industries
Global Communities
Services & Learning
Networks
Esri Events
ArcGIS Topics
User Groups
Events
ArcGIS Ideas
Community Resources
Community Blog
Community Feedback
Community Help
Member Introductions
MVP Program
Discussions
Help
Home
Products
ArcGIS Enterprise
ArcGIS Enterprise Ideas
Provide one XSLT Template per Service for WMS GetFeatureInfo Customization
MarcelFrehner
WMS GetFeatureInfo responses can be customized by editing the default XSLT templates. However, this will affect all WMS services on the server. The ArcGIS documentation does therefore discourage users from putting service-specific logic into the templates and presents the XSLT_TEMPLATE parameter as a client-side alternative.
In my opinion, separate XSLT templates for each service would add flexibilty while style control remains with the service author.
Use case:
A service author might use a service-specific XSLT template to convert attribute values representing a URL to an HTML hyperlink. They could apply this transformation to field "URL" in the case of service "A" whereas they could apply the same transformation to field "RESOURCES" in the case of service "B".
Find more posts tagged with
Status: Open
Comments
AntjeKügeler1
This would be very useful!
AntjeKügeler1
...however it would be good to have the choice of using either a default template or a
service-specific XSLT template, so the admin isn't forced to repeat the same changes in each template if no service-specific changes are needed.
GerdArns-Krogmann
Alternativly the concept of HTML-Popup configuration in ArcMap could be used to apply styling for feature info output of each layer. As far as I know this method will only work for ESRI-Feature Services but not for OGC-WMS.
Join the Conversation
Sign in to post, follow content, and more. New here? Register for free.
Sign In
Register
Quick Links
All Communities
Recent Posts
User Groups
Followed Content
Community Help