How do I find and reference the featureID that entered data will have?
Hello,
I am trying to place a Geocortex Report into Geocortex Workflow. I would like it to auto-generate a report based on the data that is inputted into the Workflow. The user-inputted data is transferred to a feature layer, and a featureID is generated.
How would I go about referencing a feature ID for data inputted to the Workflow?
I can provide my Workflow if that would help.
Thank you!
Andrew
-
For anyone referencing this in the future, I have figured this out. I made a 'Query Layer' tool, where I reference the layer in the rest service I am using. In the 'Out Statistics' option, I write the following:
This spits out the maximum objectID as the 'feature' output.
It works, because objectID values start at 0 for the first data entry, then increase by 1 per data entry (i.e. the 12th data entry would have objectID # 11). Therefore the newest data entry always has the maximum objectID.
I'm sure there's other ways to do this, but this works for me.
Andrew
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar