Editing Features in Workflow Permissions
I created multiple workflows that edit and attach photos/files to a feature class. They work perfectly. However I want to restrict both the feature class being edited and the workflows to specific users. Once I add those permissions through manager when I try to run the workflow I'm getting an error saying User Cannot Access Desired Resource.
I have already applied the Precedence = AllowBeforeDeny to all workflows and layers that are used.
I feel like I might be missing something simple but can't figure it out.
0
-
Hi Stephanie,
When a request is made from a workflow to apply your edits, it's coming from the Essentials Server rather than from your browser. The server doesn't get the same access token as you would get in the viewer.
The best solution is to use the Get Map Service Info activity to get your layer URL at runtime. This will give you the same URL as is used in the viewer, and you can also get the token and source parameters if you need them.
Our article on using the source parameter to handle dynamic layers will help here - we are looking to use the token parameter instead of (or in addition to) the source parameter.
https://support.geocortex.com/essentialsGSCkbaDetail?sub-nav=kba&main-nav=essentials&id=kA6f200000091UDCAY
Regards,
-Malcolm0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar