Hello,
Having successfully got my App-Schema based WMS to return a PNG image, I now wish to override the GetFeatureInfo request to output custom HTML. I’ve defined the following content.ftl template:
=== Begin content.ftl
<#list features as feature>
- ${feature.fid}
- ${attribute.name} = ${attribute.value}
<#list feature.attributes as attribute>
<#if attribute.name != “the_geom”>
</#if>
</#list>
</#list>
=== End content.ftl
This template gives me the bullet point list I expect to see for the tutorial (non App-Schema) data layers when I invoke a GetFeatureInfo request by clicking on the OpenLayers map, however, when I use the same content.ftl for my App-Schema data layer, the default HTML (a table of attributes instead of my custom bulleted list) is displayed.
Does App-Schema support the use of a custom content.ftl template? If so, what modifications do I need to make to make to the template above in order to display the bulleted list?
Best Regards,
Ryan