Can I interactively type multiple string records as input for GP Widget?

1045
0
02-20-2017 07:13 AM
FrancescoTonini2
Occasional Contributor II

I am running a GP script tool where a required input is set up as a RecordSet for the user to type multiple string values that will be used by the tool for further analysis. However, when I publish my tool as GP service and consume it within Web AppBuilder 2.3, the input RecordSet becomes a JSON set of fields:

{"displayFieldName":"","fields":[{"name":"OBJECTID","type":"esriFieldTypeOID","alias":"OBJECTID"},{"name":"Name","type":"esriFieldTypeString","alias":"Name","length":50}],"features":[],"exceededTransferLimit":false}

What I would like, instead, is an input parameter where the user can interactively type multiple string values that will be passed to the task. How can I accomplish this? Should I not use RecordSet? 

0 Kudos
0 Replies