I'm deploying a Profile Foo
from VCS to an org. SFDC reports a deployment error
You can't edit tab settings for QuickText, as it's not a valid tab
Yet if I look in the target org under Tab Settings, I can see an entry for Quick Text
How do I deploy this?
Best Answer
There's two
QuickText
tab entries because Classic and Lightning have separateQuickText tabs
when enabled in either UI.I didn't see this within official docs, but Gearset has How to resolve the "QuickText is not a valid Tab" error when deploying Profiles which hints at it. Both can be separately enabled in their respective UIs under
Setup --> Quick Text Settings --> Enable Quick Text
.Classic
Lightning
However, saying all that - your particular issue is through the Metadata API (MDAPI). It doesn't retrieve multiple entries in the metadata when you retrieve
profile + QuickText
- it only retrieves the tab settings for the Classic tab. The Lightning QuickText tab settings don't appear to be retrievable/deployable in the MDAPI.So, this issue will typically need to solved by matching your target org to your source by either
Setup --> Chat Settings
) in Lightning if you don't use Classic. This will automatically enable quick text in Classic as mentioned in Enable Quick TextAnd then match the
QuickText
classic tab settings to be equal to your source (tab hidden, default off, default on) so it doesn't show as a diff or attempt to deploy.In terms of the UI, through testing I've found the following to be true:
Quick Text
tab setting is for LightningQuick Text
tab setting is for Classic