Select to view content in your preferred language

Return a filepath from a GP service

211
0
06-10-2020 10:14 AM
AndreaWeston2
New Contributor

Hi,

I have created a simple Model Builder model that uses a couple input parameters and creates a SHP and FGDB GDB (with 2 feature classes) and is then Published as a GP service.The model/service works fine and the files are being created on the server. After running, these files are then supposed to be picked up by a .net call to the REST endpoint ,  ZIP them and return to an application.

Trouble is, there is no path for the .NET call to grab without digging into the log files. The same .NET call is used when we grab files from the SecurePrintService. I've noticed the DataType for the  SecurPrintservice is GPDataFile, but in mine, they are GPFeatureRecordSetLayer

I'm fairly certain we had this same model 'working' so the .NET call could pick it up (prior to V 10.6.1) so wondering if something has changed since 10.4. If not, any ideas how I can get my model/gpService to output the path to the files?

Thanks,

Andrea

0 Kudos
0 Replies