Creating/retrieving cookies in a workflow
Has anyone created a workflow that involves creating/retrieving cookies? In our disclaimer workflow I would like the user to only "Agree" once. The disclaimer would be bypassed in subsequent visits to the mapping application as it would recognize a cookie.
0
-
Hi Janice,
You will need to create a viewer module which can get the cookie. The best thing that I can recommend is taking a look at the QuickStart Visual Studio project and the SDK examples.
The module will act as a wrapper for the Javascript which gets and sets the cookie. To integrate this with workflow, you will need to register an activity handler in the module and then call that handler from the workflow.
-Kevin0 -
Hi Kevin, I notice that this was posted 6 years ago. Is this still the solution? Can you share any tutorial information?
0 -
Hi @Patrick Reardon? yes, this is still the solution for a GVH viewer to access browser cookies. We have a tutorial on how to set up an Activity Handler on the Geocortex Developer Center: Workflow Activity Reference | Geocortex Developer Center
0
Please sign in to leave a comment.
Comments
3 comments