Aller au contenu principal

Can we Load Project on startup?

Commentaires

3 commentaires

  • Rasmus Holst Mikkelsen

    Hi Gareth

    I’m pretty sure you can use ‘Share’ if you’re using an S3 solution.

    This will create a link with a projectShareId:

    app=xyz123&projectShareId=s2b5b4e3-ea0a-22c5-aa19-0eed123a1234
    This vil honour your saved project using the S3 solution.

    I know it is not exactly what you're looking for, but it might be a workaround for the users to bookmark the shared link (given the project is shared with them).

    0
  • Yannick Mijnheer

    We created functionality like this as well, when transitioning from Essentials to Web, for the same reason (Essentials had way too many layers).

    We use an alternative to the S3-approach, a bit more cumbersome, but it works. Users store projects (the entire file) in a feature service, as attachments. Then there's a startup workflow that checks if there are any parameters in the URL of the viewer, and if so, loads the project from the feature service.

    Users can also create, open, update and delete projects from a workflow. 

    It works pretty neet, butttt we haven't touched on the rabbit hole of keeping projects in sync if there are major changes in the viewer/services.. Since the projectfiles are all json, we could potentially pass changes to all the existing projects at once (say, if a layer url changes, just loop and find and replace). Luckily we haven't had that yet.

    0
  • Helen Dornan

    Yannick Mijnheer your workflow sounds fantastic! At the moment our users are creating projects, saving them locally and then re-loading them, which they complain about. The projects also break when we make major changes to our app/webmap, which annoys them. Keeping everything in sync is definitely an issue.

    0

Vous devez vous connecter pour laisser un commentaire.