You need to sign in to do that
Don't have an account?
Satishakumar Awati
What all special characters needs to be escaped in package.xml
I have below package xml , deployment using sfdx is getting failed with error 'Not in package.xml'
The command I used to deploy folder is
I noticed colon (:) in WorkflowRule name causing deployment to fail and it needs to be escaped with %3A.
Deployment succeded after escaping colon (:) special charecter in WorkflowRule name as below.
What other all special charecters needs to be handled and escaped in package.xml?
<?xml version='1.0' encoding='utf-8'?> <Package xlms="http://soap.sforce.com/2006/04/metadata"> <types> <name>WorkflowRule</name> <members>Case.ABC: Update Requestor email</members> </types> <version>45.0</version> </Package>
The command I used to deploy folder is
sfdx force:mdapi:deploy -d deployFolder -u dev -w 5 --json
I noticed colon (:) in WorkflowRule name causing deployment to fail and it needs to be escaped with %3A.
Deployment succeded after escaping colon (:) special charecter in WorkflowRule name as below.
<?xml version='1.0' encoding='utf-8'?> <Package xlms="http://soap.sforce.com/2006/04/metadata"> <types> <name>WorkflowRule</name> <members>Case.ABC%3A Update Requestor email</members> </types> <version>45.0</version> </Package>
What other all special charecters needs to be handled and escaped in package.xml?
MagulanDuraipandian
Check this link - https://www.infallibletechie.com/2019/11/which-special-characters-need-to-be.html