AnsweredAssumed Answered

Geoprocessing service how to get the symbology for the parameter

Question asked by rvangilst on Sep 24, 2018

Hi,

I've written a Python toolbox, and added a parameter as follows:

 

consumption_points = arcpy.Parameter(
   displayName="Aftagerpunkter",
   name="consumption_points",
   datatype="DEFeatureClass",
   parameterType="Optional",
   direction="Output")
consumption_points.symbology = os.path.join(os.path.dirname(__file__), 'consumption_points.lyr')

Does anybody know, how to get hold of the symbology for the parameter in the resulting GP Rest endpoint?

 

The service is published without a result map layer. When consumed in ArcGis Pro or ArcMap, I can see the defined symbology, so I reckon that I should be able to get it from the Rest endpoint as well.

 

Robert

Outcomes