function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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

Please follow the below link :-

Please mark it as Best Answer if it helps you.

Thanks & Regards
Suraj Tripathi