Run Print Template (Operation)
Hi to Victoria et al
I was hoping that there might be some updated documentation for this somewhere other than https://resources.geocortex.com/essentials/apis/rest/
Geocortex Essentials REST API Reference > Resource Hierarchy > Sites > Site > Print Templates > Print Template > Run Print Template (Operation)
Not all of the available parameters are listed at this location such as:
- Custom Graphics
- Layer Definitions
- Map Service Options
- Feature Layer Options
Is there somewhere else where these are detailed?
Thanks
Ralph
-
Hi to all
just hoping for an update on this.
I would still like information on these option when accessed via the REST endpoint as seen below:
/customer/servlet/servlet.FileDownload?file=00P6000000eltjIEAQ
I am consuming the endpoint directly rather than just via one of the Viewers (SL or HTML5) and need to be able to:
- turn off labels on a layer
- add custom graphics to simulate a selected feature
A layer definition looks something like this:
{\"mapServiceID1\":{\"layerID1\":\"LAYERDEF\",\"layerID2\":\"LAYERDEF\"},\"mapServiceID2\":{\"layerID1\":\"LAYERDEF\"}}
(from an error message prompted by putting in an invalid string)
ie layerDefinitions={"6":{"10":"UNITID = 'WL164803'"}}
where 6 = map service id in the site
and 10 = layer id within the map service
Any suggestions would be much appreciated while I continue to hunt for further information.
The rest of the parameters are clearly described
Regards
Ralph Price
0 -
Hi Victoria
I still need some help with this, particularly the 'Custom Graphics' parameter?
What would be a valid piece of JSON that could be used?
Thanks
Ralph Price0 -
Example of use of customGraphics parameter: customgraphics = "{""layers"": [{""elements"":[ {""geometry"":"& geometry1Line.ToJson().Replace("}","") &",""spatialReference"":28992},""symbol"":{""color"":[0,0,255,255],""width"":1,""type"":""esriSLS"",""style"":""esriSLSSolid""}}]}]}"0
Please sign in to leave a comment.
Comments
3 comments