function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sanne Kjær Sørensen 3Sanne Kjær Sørensen 3 

ReciprocalRole Lidt view not possible to deploy

Why can I not deploy this list view in and XML file?:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> 
     <types>
            <members>FinServ__ReciprocalRole__c.All</members>
            <name>ListView</name>
    </types>
<version>51.0</version>
</Package>
Thanks in advance.
Best regards
Sanne
Best Answer chosen by Sanne Kjær Sørensen 3
VinayVinay (Salesforce Developers) 
I don't think you can deploy list view.  As per below documentation list view metadata aren't supported in managed package.

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_packageable_components.htm

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Do you see any errors?  Can you try using 50 version

Thanks,
Sanne Kjær Sørensen 3Sanne Kjær Sørensen 3
@Vinay thanks for fast reply, I can deploy with <version>51.0</version> with no problem, aslo layouts fields etc on this financiel sercie cloud object Reciprocal Role api: FinServ__ReciprocalRole__c . Will anybodu know if list views need another syntax for a list view in a managed packed? as e.g. as it is for layout <members>FinServ__ReciprocalRole__c-FinServ__Reciprocal Role Layout</members> thanks in advance. BR. Sanne
Sanne Kjær Sørensen 3Sanne Kjær Sørensen 3
The error is. this metadata does not exist. Object is FinServ__ReciprocalRole__c ad api on listview is: all
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> 
     <types>
            <members>FinServ__ReciprocalRole__c.All</members>
            <name>ListView</name>
    </types>
<version>51.0</version>
I can also deploy other list views as e.g. 
<members>Product2.AllProducts</members>
<name>ListView</name>
VinayVinay (Salesforce Developers) 
I don't think you can deploy list view.  As per below documentation list view metadata aren't supported in managed package.

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_packageable_components.htm

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
This was selected as the best answer
Sanne Kjær Sørensen 3Sanne Kjær Sørensen 3
Thank you Vinay, so "All attributes except View Unique Name" on this page: https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_component_attributes.htm
If i do a custom list view instaed of add more field to standard list view: All. It is not at problem? is that correct?