Currently trying to deploy a list view created for custom settings through the 'Manage' button through the Metadata API.

<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
    <description>Test custom setting</description>
        <description>Test field for custom settings example.</description>
        <label>Test Field</label>
    <label>Test Custom Settings</label>
        <label>Test list view</label>

Error is as follows:

All Component Failures:
1.  objects/Test_Custom_Settings__c.object -- Error: Cannot specify: listViews for CustomSettings

Looks like it's not possible to deploy these list views but I can't find it anywhere in the documentation. Not surprising, as 'Manage' also deals with custom setting data which can't be deployed between environments.

Any suggestions other than a post-deployment manual step to create this view?


Edit: Looks like there's an idea for this to be implemented: https://success.salesforce.com/ideaView?id=08730000000KBa8AAG

  • It's a bit of a side step, but you could try using Custom Metadata Types rather than Custom Settings. I'm not actually sure if this will address the list view deployment problem, but Custom Metadata Types are a newer replacement for Custom Settings and would likely give you more options. – Daniel Ballinger Nov 3 '16 at 23:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.