Hi everyone! I have COVID-19 data in AGOL that the public has been viewing for quite some time now. And now Administration would like some of the data on an internal web map - so I was simply going to add the same data into a Web Map on Enterprise, but I am realizing it is not that easy.
Here is what I tried:
In a perfect world, I'd love to manipulate the data in AGOL and simply have it reflect over into Enterprise's layers as well, but I don't assume that's possible here.
My question is how can I best use this existing data from AGOL and display it in Enterprise without it prompting me for a login. I don't believe I can simply make the Hosted Feature Layers in AGOL public because then it will allow the public to edit this sensitive data, which is why a View layer was created.
Solved! Go to Solution.
You'll want to add the item to your Contents, not just to a map. When you add an item on the Content page using the From the Web dialog, it will detect if the URL you're adding is protected.
If it is, it prompts you for a username and password, and gives you the option of storing credentials for the service.
If you opt to store the credentials, the data can be used throughout your Portal as the item-level sharing settings allow, without needing to log in to AGOL.
It's a super useful option, but the documentation is well worth a read for a few of the performance-related caveats and such.
You'll want to add the item to your Contents, not just to a map. When you add an item on the Content page using the From the Web dialog, it will detect if the URL you're adding is protected.
If it is, it prompts you for a username and password, and gives you the option of storing credentials for the service.
If you opt to store the credentials, the data can be used throughout your Portal as the item-level sharing settings allow, without needing to log in to AGOL.
It's a super useful option, but the documentation is well worth a read for a few of the performance-related caveats and such.
Hi Josh,
When you say to add the item into my content, how are you suggesting that I do this? The data is stored on AGOL.
Hi Josh,
Please disregard my previous question, I now know what you are suggesting and am going to give it a try now!
Actually Josh I have one more question for you. When I finalize the web map and make public, log out of my Enterprise account to test the link, it shows that I am able to have similar permissions to somebody who is logged in. So I am able to change symbology, as an example. Is there any way to terminate that option? The less settings/options, the better for Administration.
Thanks! (see below)
@KamillePretoTechnically, that sort of thing is always possible if the web map is shared publicly. What the public can't do is save any changes to the map for anyone else to see.
Sharing the map inside of a preconfigured app still doesn't prevent this sort of thing, but does put the map options a step removed from the viewer. Even if you just wrap it up in the "Minimalist" viewer or something, that's usually enough to make your map accessible to the public without showing them all the controls.
That makes so much sense, thank you so much Josh. I am more used to producing Web Applications & Dashboards, not usually Web Maps so I think it's just been a while since I have seen the interface of one.