You need to sign in to do that
Don't have an account?
Firas Taamallah 12
How to retrieve records from list view ? Soql ?
Hi ,
I want to retrieve records from my custom list view in Contact object
Can anyone help me ?
Select id, Name from Contact where ...
I want to retrieve records from my custom list view in Contact object
Can anyone help me ?
Select id, Name from Contact where ...
The custom list views are created by using some of the filters. You can use the same filters in your query and than you will get the same records as shown in that list view.
For Eg: Lets suppose you have created a list view where you want to see only contacts that you own, so for this list view you can use the below SOQL:
Select Id, Name from Contact where Owner.Name = 'Your_Name'
So like this you can use the filters of the list view to query same records from the database. Let me know if you need any further help on this.
Thanks,
Abhishek Bansal.
Sorry but this is not the best answer , i'm deveoping new button " Export " it will export the data based on list view's records
Example:
Hi Firas,
This should give you some leads - https://developer.salesforce.com/forums/?id=9062I000000XmcgQAC
Hope it helps.
Best,
Vishal