Select to view content in your preferred language

convert feature layer to gprecordset

527
1
08-01-2017 05:10 AM
AlistairFox
Regular Contributor

I have a model that is populating an sde layer with its results. Instead of the feature layer being the output parameter i want to get the underlying table of data into a gprecordset so i can display these as results. can someone point me in the direction to accomplish this.

0 Kudos
1 Reply
curtvprice
MVP Esteemed Contributor

Make Table View followed by Copy Rows to an output parameter should return the data from a server tool.

Feature sets and record sets are normally used for input not output.  In general, layers are not usually tool outputs, as they aren't data, just memory containers that point to data on disk (which in the case of a GP service is not available to you on the client!)

A quick tour of using Feature Set and Record Set—Help | ArcGIS Desktop 

0 Kudos