Salesforce now allows users to define List Views for Classes, Pages, etc. But I can't figure out how to deploy these to other orgs! Typically, list views are deployed as part of the CustomObject metadata type, but classes and pages aren't Objects. Is there a way to do this?
Tell me more
×
Salesforce Stack Exchange is a question and answer site for
Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.
|
List Views can be deployed separately. Please check out the metadata documentation. Sample XML looks like:
|
|||||||
|
|
I don't believe you can do this. Apex Classes and Pages are two files in the metadata, the .cls or .page file for source code and a *-meta.xml file containing the API version number and status. There is no container into which such a list view definition could be put (unlike a CustomObject). |
|||
|
|