+ Start a Discussion
Kiran Jain 15Kiran Jain 15 

How to fetch listView Records that is share with user

Hello Experts,
I am facing a challenge. I want to listView data that is shared with user.
I ran following query but it's fetch all records of listView.
list<listView> lstListView = [SELECT Id, Name, DeveloperName, SobjectType FROM ListView
                                      WHERE sobjectType ='Account' ORDER by DeveloperName Asc];
I want listView data that is shared with user.I need this data into lwc.
You  avoid apex if it's possible.
It's very urgent for me.
Thanks in Advance

 
Suraj Tripathi 47Suraj Tripathi 47
Hi,

Please follow the below link :- 
https://salesforce.stackexchange.com/questions/257909/how-can-i-query-listview-records-that-were-created-by-users

Please mark it as Best Answer if it helps you.

Thanks & Regards
Suraj Tripathi