Skip to main content

Storing offline data in a shared directory for multiple users

Answered

Comments

4 comments

  • Jack Basha

    Hi Steffen, I am Jack from the Mobile team here to answer your inquiry. Thank you for helping contribute ideas to Mobile.

    The MMPK and TPK files are in fact stored in a common directory for multiple AGOL users. If you head to the packages folder in Windows for your current Windows user, the packages exist in `C:\Users\<user>\AppData\Local\Packages\Geocortex.GeocortexGo_…\LocalState` and you should find your files there.

    0
  • Steffen Röder

    Hi Jack, thank you for the answer. I am aware that the MMPKs are under...\local State. I have created a comparison program for the site load. My problem is different. At the moment we have a group login (several users have the same login) on the PCs with the offline data. This is not ideal in terms of security. That is why I would like to be able to log in on a PC with User1, User2, User3 and User4, the users' normal domain accounts. To do this I have to install the mobile once for each user. That would still be OK, but then I also have to copy the offline data into each ..\local State directory. That will be a lot. The aerial photo, which is around 70GB in size alone, quickly adds up to 100GB with the other data (attached PDFs, 2 MMPKs). That's going to be tight on a 1TB disk with >5 users. That's why I asked whether you can store the data in a directory, C:\GISData\... and persuade Mobile to find the data there. Best regards Steffen Röder

    0
  • Jack Basha

    Hi Steffen, thanks for elaborating.

    I had a feeling that this was the case and this confirms my suspicions, which is why I emphasized different AGOL, not Windows, users. I will be discussing this with our development team and see if what can be done.

    0
  • Jack Basha

    Hello again Steffen, after speaking with our dev team, they suggested trying out creating symbolic link that would point to the original files. I tested it out in Go and it worked well!

    You want to store the files in a location that can be accessed by all users. Next, for each of the files, you want to run `mklink <link_name> <link_target>` (Taken from windows - Have a file appear in multiple folders - Super User) where you would replace the <link name> with the destination folder and file name, and the <link target> with the file to be linked.

    For example, say I have a file called my_mmpk.mmpk stored in a shared location that all users can access, say “C:\StudioGoData”. Also assume I have a user called Clara that requires this mmpk to be present, then I would run the command as `mklink C:\Users\Clara\AppData\Local\Packages\Geocortex.GeocortexGo_…\LocalState\my_mmpk.mmpk C:\StudioGoData\my_mmpk.mmpk"

    Please let me know if you have any further question or if you run into any issues :)

    0

Please sign in to leave a comment.