[SalesForce] “Overwrite users’ personal custom app customizations” is not changeable

I installed my managed package beta in a sandbox, and realized that the tabs I had set in the developer org were not respected.

I went to Create -> Apps in the developer org, and noticed that for my application the "Overwrite users' personal custom app customizations" was unchecked. I checked and saved without error, but when I loaded the page again the checkbox was unchecked.

As far as I know this is the only way to overwrite visible tabs and tab order in the target org, so I would like to know why my choice does not seem to be respected.

I had a look at the application metadata but could not see any boolean flag I could set.

Best Answer

You should have no problem setting the tabs for your own app, but changing the custom tab settings for User Profiles is a global setting for all apps, not just your own! Take a look at Chapter 7 of Force.com Fundamentals where those settings are covered in detail. Tab settings can be controlled through both User Profiles and through Permission Sets.

For your app, if you have custom profiles, you should see something like this:

In the Custom App Settings area, make the Recruiting app visible to users assigned to the Recruiter profile, as shown in the following screenshot.

enter image description here

Figure 49: Profile Custom App Settings Area

Tip: You can also give this profile access to any of the other available apps as well. Every profile needs to have at least one visible app.

However, in an existing org where the profiles already exist, you'll see something that looks more like the image below:

The Overwrite users' personal tab customizations setting appears if you have an organization that's currently in use and you want to make sure your existing users are viewing the tabs that you've selected. You don't need to select this for our app because we're defining a brand-new profile and no one has personalized his or her tab visibility settings yet. However, if you do want to select this option at some point in the future, just make sure you're not going to annoy your users by deleting all of their customizations!

enter image description here

Tab visibility by tab/object can also be controlled through permission sets as shown in the image below:

enter image description here

If your App includes permission sets, that could be why your tabs aren't behaving as expected. Any changes to the permission sets would need to be implemented with the new version of your app as well.

Related Topic