Convert GPFeatureRecordSetLayer to FeatureSet
Hi,
I want to use a published geoprocessing service in a workflow using a geoprocessor-activity, this geoprocessing service produces a feature layer that has a parameter type of “GPFeatureRecordSetLayer”, I want to convert this parameter to featureset so I can render it in a graphics layer, how can I convert it using an assign-activity?
Any help is appreciated,
Thanks and Best Regards,
0
-
Check out the properties of a GPFeatureRecordSet... FeatureSet is a member.
You don't really need to assign anything. Just reference it like:
GPFeatureRecordSetLayer.Featureset.Features
0 -
Many thanks Erik,
I'll try this and keep you posted
0 -
Thanks a lot Erik for your valuable input, I've tried your suggestion and it worked well.
0
Please sign in to leave a comment.
Comments
3 comments