When you compare and deploy a ProfileTabVisibility.standard-QuickText item, you may run into a Salesforce deployment error:

You can't edit tab settings for QuickText, as it's not a valid tab.

This article explains the root cause of this deployment issue and how to resolve it.

Triggering the error

You may trigger this error if you select the Admin.ProfileTabVisibility.standard-QuickText item in a comparison (and/or the equivalent for other profiles) and try to validate or deploy it.

A Gearset problem analyzer may be triggered, suggesting that it is removed from deployment.

If you do not tick the box to accept the suggested fix, and proceed with a validation/deployment, you will see an error message for the Profile metadata type, like this:

Root cause

This can happen if:

  • The Quick Text custom object doesn't exist in your target org; or
  • The Quick Text tab doesn't exist in your target org.

Resolution option 1: enable Quick Text in target org

You should check both the Classic and Lightning settings below. If you start out in Lightning mode, you should switch to Salesforce Classic and activate tabs in Classic mode as well.

Salesforce Classic

You should be able to resolve the error by enabling the Quick Text Settings in your target org.

Lightning

You can also enable the Quick Text Settings in Lightning in your target org; however, this only affects the Lightning Experience text, so it may not fully resolve the issue.

Resolution option 2: exclude this item from your validation/deployment

If you tick the Gearset problem analyzer suggested fix to remove the item from your deployment package, the error won't be triggered when you proceed.

If you're still stuck after trying these steps out, please get in touch with us in the in-app chat, and we'll do our best to resolve the issue with you.

Did this answer your question?