Open venkatpolisetti opened 6 years ago
List View Metadata is stored within the CustomObject metadata type and only for shared List Views. Try retrieving the Contact CustomObject metadata, your list views should be contained in there. https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_listview.htm
Andy,
I am referring to the listviews that I have created on the Mass Email Page, not the object tab.
I have pulled the metdata data from Contact object through workbench and could not find list views that I have created on the Mass Email Page. I tried Campaign and Account object as well, but no luck.
May be SF is not exposing them through metadata.
Ok, yes, this looks like a gap in the Metadata API sadly. I just had a scan through the Metadata API docs to double check and nothing. Sorry. 👎
Andy,
This is great tool and thank you.
I am wondering how to access listviews that are created on the mass email page (Contacts->Mass Email) through this tool. I tried your Metadata Retrieve Demo and could not find any of those list views that I have created on the Mass Email page.
We are creating weekly campaigns and would like to create list views automatically for the mass email page for our marketing team and these list views have filters to pull specific contacts from the corresponding campaign.
Thanks, Venkat Polisetti