Loading

Branding Metadata for Embedded Service for Web

Fecha de publicación: Sep 27, 2024
Descripción

As we know For Embedded Service Deployment for Chat, We have EmbeddedServiceBranding Object and below is the Package.xml to retrieve

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>masterlabel</members>
<name>EmbeddedServiceBranding</name>
</types>
<version>50.0</version>
</Package>

ToolingAPIEmbeddedServiceBranding:
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_embeddedservicebranding.htm

The above Metadata will not work for Embedded Service for Web

Solución

We have a separate object to retrieve Branding Metadata for Embedded Service for Web

Here is the Object: BrandingSet and below is the Package.xml to retrieve

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>MasterLabel</members>
<name>BrandingSet</name>
</types>
<version>50.0</version>
</Package>

ToolingAPIBrandingSet:
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_brandingset.htm

The Master label can be retrieved through Tooling API Please find below Example

Open Developer console > enable Use Tooling API

//fetch masterlabel for embedded service for chat
SELECT Id, MasterLabel from EmbeddedServiceBranding
Example Results: EmbeddedServiceBranding_Parent04IdN0000000lOjUAI_191e17b79e9

//fetch masterlabel for embedded service for web
SELECT Id, MasterLabel from BrandingSet
Example Results: EmbeddedServiceConfig_BrandingSet_191e1701c81

Note: Salesforce will retire legacy Chat products (LiveAgent, Salesforce Chat, Embedded Chat, and Service Chat) on February 14 so EmbeddedServiceBranding as well will not work

Número del artículo de conocimiento

002774306

 
Cargando
Salesforce Help | Article