Select to view content in your preferred language

Instant App Configuration not working with Rest Services from Enterprise

462
3
03-04-2026 07:01 AM
AndersBode
Emerging Contributor

My department uses rest services that we take from another GIS department in our county, mainly parcel, address, etc. type data. We maintain everything in AGOL, for our instant apps and field maps, while they use enterprise to maintain their data. So the rest services come from enterprise and is managed by us in instant apps in AGOL. Recently they upgraded to 11.5 and changed their interface, resulting in the rest services to be changed to new layer source URLs. We have a few public facing web maps where the rest services are a key part of the map. After getting the web maps updated to new layers, when configuring in the Sidebar instant app I noticed that none of the new rest services appeared in the layer list. As well as not showing up in the interactivity search configuration, being able to search parcel # and address is an important part of this app. So, I tried trouble shooting by removing layers then putting them back in or clearing cache and some other work arounds, but I haven’t seen any changes. Except the last thing I tried was in web map that only has 4 layers that are rest services, I removed those then added the new ones. When I reopened the instant app to configure, I got a message that I needed to sign into enterprise. To which I was giving a login with just view permissions I believe, I then tried again and the same issues as above were still present.

Another thing is the new rest layers are all visible while configuring in the Sidebar app and are visible when published and viewed, it just seems like configuring is being blocked.

Here's the sign in pop and the message given about acceptable layers

EnterpriseSignin.pngOthersignin.png
 
Tags (1)
0 Kudos
3 Replies
SarahMcDonald_Esri
Esri Contributor

Hi @AndersBode 

Thanks for reaching out on this. I had a chance to take a closer look at the behavior you are seeing in the Sidebar configuration. I see that the layer that you shared loads in the map as expected in the app preview in the configuration. But, I don't see the layer appear in layer list configuration. 

I tested this issue with some services we have in house to determine where the source of the issue might be (ex. other map services, services from 11.5, 12.0 environments, etc.) I was only seeing the issue with the service that you shared with me. 

I also inspected the web page to see if there were any console errors returned. I saw there were some Cross-Origin Errors returned. So, after all that, I would guess that there might be an issue  with certain requests from your server that are being blocked. I would recommend connecting with Esri technical support to further dive into this issue more. They will be able to best assist you. 

In the meantime, I wanted to share this knowledge article that might apply to some of those console errors that were returned. https://support.esri.com/en-us/knowledge-base/error-cross-origin-request-blocked-000018447

Thanks!
Sarah

0 Kudos
AndersBode
Emerging Contributor

Thank you for your help, I've passed this information on to GIS developer. 

The rest services are configurable in experience builder but it seems like it's just instant apps that it's not working in. Would it be possible to see if there's a setting that could be changed in Instant Apps to get it to work? 

0 Kudos
SarahMcDonald_Esri
Esri Contributor

Hi @AndersBode 

Can you share a screenshot of the setting that you use in Experience Builder to configure the services? 

Thanks!

Sarah

0 Kudos