Populate CREATED_USER via Workflow
Hi all,
I have a secured on prem ArcGIS Server service, using token authentication. The Geocortex instance we are using uses Windows Integrated, so I know who the user is in a workflow. However,I can't populate their username in the CREATED_USER and LAST_EDITED_USER fields via JSON (AddFeatures) without asking for the user's credentials to generate the token in their name. We have a service account to allow access for Geocortex to the on prem service, but unless I ask the user for their AD user/password to generate the token, the CREATED_USER and LAST_EDITED_USER fields populate as the service account username.
Any insight? I'd rather not display a form asking for user/pass if I can help it.
Thanks!
0
-
Hi, it sounds like editor tracking is enabled in the database for the feature class you are writing to. The four fields that are used by the editor tracking are read-only, and there is no way you can override this without disabling editor tracking on the feature class. When editor tracking is enabled, it is the user that your map service uses to connect to the database that is entered into the editor tracking fields. If you don't want to disable editor tracking, you could add a new text field to the feature and populate this with the string returned by the Get Current User activity 0 -
Thanks for the response Jostein, that makes sense. Editor tracking is enabled, and we've usually only used the editor tracking fields for mobile data collection, but I was hoping I could write my own values in. I wasn't sure they were read only and ESRI auto-populated, but thanks for verifying that they are. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer