function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Doria Hamelryk VetranoDoria Hamelryk Vetrano 

PathAssistantStep translation with ANT

Hi Community,
We use translations in PathAssistantStep, in several languages.

When trying to deploy from DEV to QA environment with ANT, we noticed, it's only possible to declare the path, but not the translations for the steps.

Déclaration :
<types>
        <members>CRM_SalesOpportunity</members>
        <name>PathAssistant</name>
    </types>
Retrieved in CRM_SalesOpportunity.pathAssistant:
<?xml version="1.0" encoding="UTF-8"?>
<PathAssistant xmlns="http://soap.sforce.com/2006/04/metadata">
    <active>true</active>
    <entityName>Opportunity</entityName>
    <fieldName>StageName</fieldName>
    <masterLabel>Sales Opportunity</masterLabel>
    <pathAssistantSteps>
        <fieldNames>CRM_CancelledReason__c</fieldNames>
        <picklistValueName>Cancelled</picklistValueName>
    </pathAssistantSteps>
    <pathAssistantSteps>
        <fieldNames>Name</fieldNames>
        <fieldNames>AccountId</fieldNames>
        <fieldNames>CloseDate</fieldNames>
        <fieldNames>CRM_ExpectedDeliveryDate__c</fieldNames>
        <fieldNames>LeadSource</fieldNames>
        <info>&lt;ul&gt;&lt;li&gt;&lt;b style=&quot;font-size: 10pt;&quot;&gt;Good job!&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; New business is coming in.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;At this stage, estimate the revenue potential of the deal and the Close Date to get your pipeline running.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</info>
        <picklistValueName>Discovery</picklistValueName>
    </pathAssistantSteps>
[....]
    <recordTypeName>CRM_OPP_Sales</recordTypeName>
</PathAssistant>
What we are now trying to retrieve (and to deploy) are the translations of the Sales Path Guidance Messages, know as PathAssistantStep (actually in the <info> tag)
In the administration, it's managed in Translation under the component "Path Step Rich Text"
It seems there is no documentation at https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_pathassistant.htm for this Meta.

Did anyone already have this limitation ?

Thanks for support !
 
Yevhen VoronkoYevhen Voronko
Dunno if it's relevant, but I believe Metadata API Guide on PathAssistant (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_pathassistant.htm) has been updated and now it has a Note that: "Rich text guidance information cannot be retrieved or deployed from or to translation workbench"