Select to view content in your preferred language

Filter Data Based on Signed in User

181
1
07-24-2024 08:22 PM
qzontario
Emerging Contributor

Hello, I am building an application using Experience Builder. It's a simple one, featuring just a map widget and a table that displays information. I need to filter the data source based on the signed-in user due to the sensitivity of the information. Is there a way to implement this in Experience Builder?

1 Reply
DanJiang
Esri Contributor

Hi @qzontario , 

I am afraid that we don't support filter data records in one data source based on the signed-in users. However, if you have different data sources for different users, for example, layer A shared with user1 and layer B shared with user2, when user1 logins to the app, data in layer A will show and data in layer B will not. When Experience builder app loads resources, it will respect the sharing scope for each item. Hopefully this could be a workaround for your case. 

Dan