+ Start a Discussion
Nat SavNat Sav 

List View in Salesforce Lightning

Hi Team,
could you help me please how can I find all views in Salesforce Lightning(their fields, define if they are default or custom, and is it possible to know how often users use them)?

Thank you.
NagendraNagendra (Salesforce Developers) 

May I request you please be more specific on what you want to find about list views(fields).

Assuming that you want to create a list view based on a particular field(might be standard or custom)

List Views are an often unused tool in the Salesforce toolshed. With List Views, you can quickly see particular segments of your data. Instead of spending the time to build a report when you just need to sort by one field (such a state or lead source), you can create a ListView.

List Views use Objects, like Leads, Accounts, Opportunities, and more, to find the data points you’re looking for. As List Views use one field, such as Stage or Close Date, you can narrow down the data to see only what you need.

For detailed information on list views, I would suggest you please refer to below links. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Raj VakatiRaj Vakati
You need to use ListView Sobject .. to query all the list of sobject .. 
SELECT Id FROM ListView WHERE SObjectType = 'Case'

Represents a list view. A list view specifies a set of records for an object, based on specific criteria. This object is available in API version 32.0 and later.

And even you can use the rest api 



Nat SavNat Sav
Thank you.