Select to view content in your preferred language

Issues in Experience Builder data not loading and being asked to login in for survey widget

2576
8
06-23-2023 01:48 PM
Labels (1)
LJackson29
Occasional Contributor III

Hi -

We are experience issues with an experience builder app where some widgets (list and feature info) are not loading data and users are being asked to login into AGOL (despite already being logged in to access the app) for the survey widget. All elements are shared with a group that the users are members of. We have been experimenting with different user types and roles but have not been able to resolve the issue. I am not experiencing these issues as owner and admin. Any thoughts?

Many thanks!

Leila

0 Kudos
8 Replies
DanJiang
Esri Contributor

Hi @LJackson29 , 

Could you provide us with a reproducible sample app? The app could be shared with this account "experience0" so that our developers can look into it and position the reason. 

Thanks, 

Dan

0 Kudos
LJackson29
Occasional Contributor III

@DanJiang 

 I have created a sample app and have sent you an invite. I have tried using a variety of different user types and roles (Editor/Data Editor, Mobile Worker/Data Editor, Creator/Data Editor, Creator/User) and the only combination I have had luck with is Creator/User. When I use this combo the data in the List and Feature Info widgets load on the View tab and spreadsheet tab, and I am not asked to login in for the survey widgets on the Edit and Add tabs (though the login window quickly flashes and disappears). We do not want to provide users for this app a Creator user type. It seems like they should be able to view the data, edit, and add as Editor or Mobile Worker/Data Editor. The data on the View, Edit and Add tabs all access the Feature Service, while the tables on the Spreadsheet tab access the Map Image Service. Let me know if you have any questions. 

Many thanks!

Leila

0 Kudos
DanJiang
Esri Contributor

Hi @LJackson29 , thank you for sharing the app. Our developers are looking into it. Will keep you updated once we have any progress. 

Thanks, 

Dan

0 Kudos
DanJiang
Esri Contributor

Hi @LJackson29 , 

We investigated the app you shared and could you please try the following steps and let us know if they fixed the issue? Thanks. 

1. One of the basemap layer is not shared to the group. https://aom-us.nearmap.com/arcgis/rest/services/nearmap_us/ImageServer Please share this layer to the group first. 

2. Save and re-publish the sample app. 

 

 

0 Kudos
LJackson29
Occasional Contributor III

@DanJiang 

In the sample app I provided, I shared the basemap with the group and that fixed the issue despite it already shared with the public; however in my working app it did not solve the issue. I have many more layers in the map for my working app, so shared all of those to the group even though they are already being shared with the organization. After doing that, the Editor/Data Editor role is no longer experiencing issues - the data loads and they are not asked to login for the survey. However, those with a Mobile Worker/Data editor and Creator/Publisher are still experiencing the same issues where the data doesn't load and they are asked to login to survey123.  Why are these two user types experiencing issues, and why do we need to share all the layers despite the fact that they are already shared with the organization or even with the public? I have not experienced these issues with other similar apps.

Many thanks!

Leila

0 Kudos
DanJiang
Esri Contributor

@LJackson29 

It is not likely to be related to different roles. Our best guess is that when you sharing the web maps, since the basemap layer is from another org and owned by other users, the layer is not shared together with the map. Have you tried whether the roles you mentioned can access the same web maps in Map Viewer? This case will help us to determine if it is caused by ExB or Survey or the item sharing level. 

0 Kudos
LJackson29
Occasional Contributor III

@DanJiang 

Good News - As of this morning, the app now appears to be working as expected. All data is loading and users are not being asked to login. I have removed the NearMap basemap from the group as well as all other layers that were already shared with the organization or public, and the app is still working. I have tested all user groups/roles that need access and everything seems to be good. Many thanks for working through this with me. I don't know what changed, but I am glad everything is working again.

Many thanks!

Leila

0 Kudos
DanJiang
Esri Contributor

That's really good news, @LJackson29 . Recently Online has some patches delivered and this case could be addressed. Anyway, glad to know everything works properly now. 

 

0 Kudos