Select to view content in your preferred language

Sharing level: public

2054
12
Jump to solution
04-16-2023 05:30 AM
NadaKadhim
Regular Contributor

Hello everyone,

Hope this message finds you well.

I just would like to ask about the option of sharing publicly of my instant app. This is the first time I use the instant app and when I finished my app I chose this option: sharing level: public.

My question is about people outside my organization if they want to use it, should they have an ArcGIS Online account to access my ArcGIS Instant App or they can access it directly without any registration or having Esri account? Because I want people to use this app without restrictions such as they should have an account to allow them to use my app. 

Thank you.

Nada

0 Kudos
1 Solution

Accepted Solutions
BernSzukalski
Esri Frequent Contributor

Thanks for adding the screen capture, it really helped me figure this out for you, I can see that you are trying to use the Sidebar Instant App.

The link that you sent me is the link that you see when you are configuring the Instant App. You likely captured it from the URL you saw in your browser while you were working with configuring the Instant App.  I won't be able to open that link and that is not the link you want to use.

The link you need to use is the one generated via the Copy Link option or the link you see after you click Launch. Both Copy Link and Launch will return links that you can share with others that will allow public access to your app.

BernSzukalski_1-1681706999597.png

For your app, all of the following will work for public access (I used them myself to prove your app is public). Congratulations on having a publicly accessible Instant App!

https://nk21.maps.arcgis.com/apps/instant/sidebar/index.html?appid=afa5bbc89ec94f3098e73f47df3dff4d

The other one that will work is the generic ArcGIS.com URL:

https://www.arcgis.com/apps/instant/sidebar/index.html?appid=afa5bbc89ec94f3098e73f47df3dff4d

Both of these work perfectly, and I was able to see your app, the intro panel, and advance beyond the intro. Here's the proof:

BernSzukalski_0-1681706765089.png

Hopefully this will make sense and get you started along your Instant Apps way. You can prove this works by using the Copy Link or Launch URL in an incognito window.

View solution in original post

12 Replies
BernSzukalski
Esri Frequent Contributor

When you author a map and share it publicly, you are prompted to also share any layers in the map publicly. If using Living Atlas subscription content, you will be notified.

When creating an app using ArcGIS Instant Apps and sharing the app publicly, a similar thing will happen. You will be prompted to ok updating sharing for any maps or layers that are not shared publicly. Living Atlas subscription content will automatically be proxied (meaning it won't cause a public viewer to be prompted to authenticate) and if you are using Living Atlas premium subscription content (that is subscriber content that consumes credits) you will be prompted to ok its use.

Bottom line, when sharing Instant Apps publicly, everything should be handled. You can always check by using an incognito window and/or by using the generic URL instead of your organization URL.

For example, this link to a public Instant App uses my organization URL:

https://onlinelabs.maps.arcgis.com/apps/instant/media/index.html?appid=5d35fea278724eb6ba0afaa947082...

This link uses the generic ArcGIS URL to to the same app:

https://www.arcgis.com/apps/instant/media/index.html?appid=5d35fea278724eb6ba0afaa9470820cf

 

NadaKadhim
Regular Contributor

Hello Dern, 

Thank you very much for your reply. I can see your point. However, what should I do now? to make it like the links you sent.

This is my ArcGIS Instant App link:

https://nk21.maps.arcgis.com/apps/configure-template/index.html?appid=afa5bbc89ec94f3098e73f47df3dff...

Please, could you tell me what should I do in addition to choosing this option:

2023-04-16_221211.png

0 Kudos
BenjaminOgren
Occasional Contributor

Hi Bern,

I am having a similar problem. I made an Instant App using the Zone Lookup Template. Everything, including the web map, all the layers, and the instant app are shared Publicly. By itself, the web map opens without asking for a password. However, sharing the link to the Instant App still prompts users to sign in. Got any tips??

BenjaminOgren_0-1723832304793.png

Link to Instant App:

https://mariposacounty.maps.arcgis.com/apps/instant/lookup/index.html?appid=849240622d7f4e65a3686520...

 

0 Kudos
BernSzukalski
Esri Frequent Contributor

This is curious... I am also prompted to authenticate when using your app. If I use the public URL I am still prompted to authenticate, but when I use credentials from one of my organizations I am able to open and view your app. If you have a link to your public map please send, I'll explore this a little further.

0 Kudos
BenjaminOgren
Occasional Contributor

Thanks for looking into this! 

Here's the web map:

https://mariposacounty.maps.arcgis.com/apps/mapviewer/index.html?webmap=c6fbb1c5d9854a49afbde84b31e5...

FYI, I  just re-created another instant app from the same web map using the same lookup template and didn't do any configurations, and it worked to share publicly without any login.

I'm suspecting it's one of the configuration settings that is causing the problem. Maybe?? 

 

Instant App Version 2 works...

https://arcg.is/ziznD

 

0 Kudos
BernSzukalski
Esri Frequent Contributor

Thanks for sending along the additional information. I was able to open your v2 app without any authentication needed. I'll take this up with the Instant Apps dev team to have them check it out further to see what the cause might be.

BernSzukalski
Esri Frequent Contributor

The dev team did have a look. It seems the problem is with this item: ecb24ace633649de94b8afceaf6b5c9c

The behavior is still a bit curious to me though... Have a look and check that item out and let me know what you find. The team was also curious about what the difference is in configuration between the link that works and the original one that doesn't. 

 

0 Kudos
BenjaminOgren
Occasional Contributor

YES!! That was it. It's a Bing Basemap Aerial Hybrid that wasn't shared publicly. I updated the sharing and now it's working. It's odd because we have allowed the Bing Maps key to be used in our public maps.

BenjaminOgren_1-1724086978088.png

Check on your end.

https://mariposacounty.maps.arcgis.com/apps/instant/lookup/index.html?appid=849240622d7f4e65a3686520...

The only difference between the 2 links is that I didn't configure the Basemap Toggle option in the app that worked. It's weird that when changing the sharing level of the app to public I wasn't given the alert saying that this basemap layer wasn't shared the same, like the Instant app treats 'layers' different from 'Basemap-layers', or something.  

 

BenjaminOgren_0-1724086405884.png

Also, we use that same Bing basemap item in other Web apps shared publicly without issue. So, I'm curious if it's a specific behavior of the Instant Apps?? 

 

Either way, it works now, and good to know for the future!  

Thank you and your team for the help!!

0 Kudos
BernSzukalski
Esri Frequent Contributor

All is well that ends well... Congrats on the app.

0 Kudos