Skip to main content

KI-51

Conflicting custom labels not correctly retrieved in non-namespace orgs

Created date04/15/2021Updated date03/19/2025
StatusDoneRelated work item(s)PLTFM-534
DescriptionIf a custom label exists in a non-namespace org with the same API Name as a Medical Information Cloud Content Management custom label (e.g., {CM_Due_Date}) or a CM_ or IM_ prefix, you will not be able to retrieve the conflicting custom label via API https://\{instanceUrl\}/services/apexrest/mvn/i18n/v1/labels
Affects VersionsMIC V10Impacted capabilitiesContent Management
Steps to Reproduce1. Create a custom label in a non-namespace org with the same API Name as a MIC-Content custom label (e.g., {CM_Due_Date}). 2. Retrieve the new custom label via the I18N API (https://help.mavens.com/mic-content/en/documents/mcm-api.html) endpoint. The translation service does not correctly retrieve the custom label.
WorkaroundCustomers should avoid using duplicate names and prefixing custom labels with CM_ or IM_.
Fix versionResolution notesSalesforce released a new Labels Apex API that allows for dynamic retrieval of custom labels in Apex.