Replies: 1 comment
-
Hi @kulakovri - Thanks for the feedback. There are extensions to work with XML, but I'm not aware of any that disguise the escape characters for you. We don't have any near-term work in this area but may consider it in the future. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're moving our org metadata management to SFDX project. Ideally, none of the metadata files supposed to be edited by Salseforce UI.
As an example, we are using Javascript Buttons, and "url" parameter is retrieved in xml following way:
{!REQUIRESCRIPT("/soap/ajax/30.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/30.0/apex.js")}
While in salesforce UI those two lines looks like this:
{!REQUIRESCRIPT("/soap/ajax/30.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/30.0/apex.js")}
I get it, that in XML you must escape characters like ', ", <, >, but it is making harder to manage and write the actual code.
Same goes with Validation Rules, Workflows, EmailTemplates and other metadata.
Is there a conventional practice for editing such metadata, besides copy-pasting it using Salesforce UI? Maybe some extensions for vscode and/or salesforce CLI?
Beta Was this translation helpful? Give feedback.
All reactions