You need to sign in to do that
Don't have an account?
deeksharth srivastava
detail list View dynamically
how can i create a list view dynamically via trigger for any standard objects .
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Do you want to create List View for every record which gets created via Standard Object ? OR you want to fetch all of the list views available ? List Views are stored in ListView Object exposed via Metadata API.
1. If you want to create list views dynamically - you can do it through Metadata API, an example for creating list view is here (http://salesforce.stackexchange.com/questions/22774/how-to-delete-list-view-from-metadata" target="_blank).
2. If you wish to fetch all list views, you can use Standard Controller and the method getListViewOptions() (https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_sosc_list_views.htm" target="_blank)
Important :
If you have received the answer which you are looking for, Please mark it as a Solution, this will help others to find the resolution of problem with ease. More, you can make the Developers of the Community smile by appreciating the answer with the "Like" Button. We would love to help you again.
Thank You
Gautam Singh
Blog - http://singhgautam02.blogspot.in/
Me - about.me/singhgautam