My organization is about to deploy ArcGIS Pro as Citrix Published Application. I've done some testing of our workflows and the main workflows works fine. However I came across a problem when using project templates for some of our test users.
When creating a new project (Project A) from a project template from ArcGIS Online in the ArcGIS Pro start screen, some of the testusers got this errormessage
After that message, ArcGIS Pro was unable to open any other project until it's restarted. When ArcGIS Pro is restarted, the project created (Project A) is opened correctly. When trying to create a new project from a project template (with a existing project opened), the project is created and opened correctly.
After some testing, it appears that the Documents-folder is being redirected to the user's OneDrive. After stopping the redirect, the project templates works fine.
When using a project template, the template is unpacked in a given folder shown in ArcGIS Pro -> Options -> Share and Download. The default is xyz\ArcGIS\Packages. Before we stopped the redirect, I tried to change the unpacking folders to a folder not connected to OneDrive. The same shown above error occurs, even when the unpacking folders are not related to OneDrive, the project template is loaded from a folder not related to OneDrive, and the project is created on a folder not related to OneDrive. So what's going on?
I would assume that the project should be created and opened correctly when none of the latter folders are connected to OneDrive, but it doesn't. What might be the cause of this? Are there other folders that's being used?
Solved! Go to Solution.
I figured it out myself. The problem actually had to do with one of our ArcGIS Pro Addins. The addin was overriding the event ProjectOpenedAsync for checking some map-names in the project. When I changed the code to using the event ProjectOpened, it works perfectly.
I figured it out myself. The problem actually had to do with one of our ArcGIS Pro Addins. The addin was overriding the event ProjectOpenedAsync for checking some map-names in the project. When I changed the code to using the event ProjectOpened, it works perfectly.