Save project retain external value(s)
Hi all,
We would like to use the 'save project' functionality, however right now we take some parameters from the browser url. Now, when you load a project it doesn't keep the browser url, so I tried putting the parameters as external values before saving a project, and then attempted to load the external values after closing and then loading the project. Sadly, it didn't work.
I do really need to access those values though, or our workflows will not work. Is there a way to store values in such a way that they can be retained with the standard save/load project functionality?
Kind regards,
Rik
0
-
Hi Rik,
The most appropriate solution would be to develop a custom module that would hook in to the save and load project to persist the values. However, we don't have a guide that I can share with you to do that, so let's consider a workaround instead.
You should be able to add a graphics layer that has no renderer to the map. This graphics layer would be reachable from Workflow using the Update Graphics Layer and Get Graphics Layer Content activities. You can save your values as features (Graphic objects) and then fetch them again as necessary.
Regards,
-Malcolm0 -
Hi Malcolm,
Thanks, guess I'll try that.
Also, do I understand correctly that you do have a guide, but it's secret?
Regards,
-Rik0 -
Sorry Rik, "I don't have a guide that I can share with you" means "I don't have a guide at all" in this case, not that I have a guide that I'm not allowed to share with you.
Regards,
-Malcolm0 -
Hi Malcolm,
Thanks for your reply. That remark was mostly meant as a joke, really, but I had to ask.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer