koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
651 stars 125 forks source link

Credentials dialogue in ArcGIS Pro #981

Open rgwozdz opened 2 months ago

rgwozdz commented 2 months ago

From @mtrcn:

we keep getting the credentials dialogue in ArcGIS Pro when we are using KoopJS layers even though we checked the store credentials option, it might be related to ArcGIS Pro 3.2, do you have any idea on this?

mtrcn commented 1 month ago

@rgwozdz I have just spotted that there is a bug fix for Add Data From Path in ArcGIS Pro 3.3; https://support.esri.com/en-us/bug/inconsistent-behavior-of-the-adddatafrompath-function-i-bug-000112284 Do you know if it addresses this issue?

mtrcn commented 1 month ago

Btw, I have also asked another colleague to test it, here is her response;

I first tried connecting a layer but had to remove credentials from Windows credential manager. When I added the layer using the path, it made me enter credentials twice, and then I could see the layer was added but the pop-up window appeared a 3rd time for credentials. On those connection attempts I had un-checked “save login”, but the window kept appearing until I left it checked. I didn’t try x’ing out of the menu because I thought it would cause the “0 out of -1 features” issue.

After about 30min, I got an error when trying to make an edit in the attribute table so I removed and re-added the layer then got this:

image

I then tried removing credentials and adding the URL again, but that didn’t work so I closed the ArcGIS Pro and reopened it and that seemed to do the trick. I came back to my computer a few hours later and removing credentials/opening fresh map didn’t work but after I restarted Pro again it did.