Find your content:

Search form

You are here

How to get tab visibilities for standard tab?

 
Share

Trying to put a permission set in source control that grants access to the Ideas tab. I've been able to download the tab visibility by adding the Idea as a custom object to my package.xml, but that also downloads all the field and object permissions as well. Is there anyway to just grab the permissions for a standard tab?

In theory it would be something like this:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Idea</members>
        <name>CustomTab</name>
    </types>
    <types>
        <members>Display_Ideas</members>
        <name>PermissionSet</name>
    </types>
    <version>26.0</version>
</Package>

Attribution to: Ralph Callaway

Possible Suggestion/Solution #1

The standard tabs aren't exposed as top-level component in the metadata api. You can get at the visibility via the Profile, but you'd obviously need to retrieve all profiles to get the full picture.


Attribution to: Bob Buzzard
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/2102

My Block Status

My Block Content