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
Dave The RaveDave The Rave 

Change metadata of listview object for existing listviews

I would like to add a column to all existing listviews on the case object. After some searching in Google, I understand that it is possible to amend the metadata of the listview object.

The question is how to do this? 

The addition column is SuuportedVendor__c


ShirishaShirisha (Salesforce Developers) 
Hi Dave,


You need to retrieve metadata for the all the listviews available on the Case Object using the below package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="">
Once,you retrieve the metadata then you will find the sample .xml files as mentioned in the below document.

Then,you would need to edit all the .xmls of the listviews and deploy them using workbench which will be the easiest way.

Sample .xml for listview:

How to retrieve and deploy using Workbench:

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Dave The RaveDave The Rave
Hi Shirisha, Thanks for your answer. I am an administrator, please explain how I use this package.xml. Do I need to open the developer console? Thanks, Dave
ShirishaShirisha (Salesforce Developers) 
Hi Dave,

You can check this video to know how to retrieve the listviews using the above sample package.xml:

Once,you download the payload then update the metadata using Workbench.

Thank you!
Mahesh V 27Mahesh V 27
Hi Shirisha,

Can you please let me know which folder would this file be located once I download it from workbench?