-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/1270 add method replaceReference to find & replace contentBlockByX with one of the other options #1353
Conversation
…to-findreplace-contentblockbyx-with-one-of-the-other-options # Conflicts: # types/mcdev.d.js
…to-findreplace-contentblockbyx-with-one-of-the-other-options
…to-findreplace-contentblockbyx-with-one-of-the-other-options
…uotes/doublequotes
… the simplified caching version
…eplaceCbReference()
…ge preheader to ampscript file-type: ampscript
…to-findreplace-contentblockbyx-with-one-of-the-other-options
…hout keys/names - if typekeycombo was handed in
Documentationhttps://github.com/Accenture/sfmc-devtools/wiki/06.b-~-Standard-Commands/_edit replaceContentBlockCommand: Alias: This replaces ContentBlockByName, ContentBlockById, or ContentBlockByKey with your chosen method. It works for Ampscript and the "Platform.Function."-prefixed SSJS alternatives. It retrieves specified metadata to ensure it parses the latest server versions, prepares the update locally, and then redeploys the metadata. --bu --to --metadata (optional) --from (optional) --skipRetrieve (optional) --skipDeploy (optional) --refresh (optional) This is the same option already available for deploy. It only works if you did not use the Example: mcdev rcb --bu MyProject/DEV --to key
mcdev rcb --bu MyProject/DEV --to key -m senderProfile
mcdev rcb --bu MyProject/DEV --to name -m journey --skipDeploy
mcdev rcb --bu * --to id -m triggeredSend -m script -m asset
mcdev rcb --bu * --to key --from name -m asset --refresh
mcdev rcb --bu * --to key -m "asset:key1" --refresh
mcdev rcb --bu MyProject/DEV --to key automation --skipRetrieve --skipDeploy
mcdev rcb --bu MyProject/* --to key journey --skipRetrieve |
PR details
What changes did you make? (Give an overview)
Further details (optional)
TODO: documentation & self-check of code
Checklist