You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a variation of execute command that allows you to execute specified items on all BUs. mcdev will look for the items of specified types and keys on all BUs and execute them.
This is a variation of execute command that allows you to execute specified items on all BUs. mcdev will look for the items of specified types and keys on all BUs and execute them.
This is a variation of pause command that allows you to pause specified items on all BUs. mcdev will look for the items of specified types and keys on all BUs and pause them.
Retrieves specified metadata to ensure it works on the latest server version, prepares the update locally to ensure the key matches the name, and redeploys the metadata.
Please, note that you might need to retrieve dependent metadata to have up-to-date data in the retrieve-folder. For example, in case of queries after fixing the keys, you should retrieve automations.
Note to CLI experts:
You can run this command without the interactive wizard asking questions using the --skipInteraction (or short--yes/--y) flag. In this case, you need to provide a few values in the command:
--execute
option todeploy
method #982 / PR feature/982: added option to execute after deploy #986execute
automation command to start SCHEDULED automations #870 / PR Feature/870execute
automation command to start scheduled automations + Feature/1018 add command topause
a scheduled automation #1019https://github.com/Accenture/sfmc-devtools/wiki/06.b-~-Standard-Commands/_edit
deploy
Command:
mcdev deploy [business unit] [metadata type] [metadata key] [--fromRetrieve] [--refresh] [--changeKeyValue=yourNewKey] [--changeKeyField=otherFieldInJson] [--execute]
[...]
deploy & execute:
This special combination will execute/start items after creating or updating them on the server.
Example:
Currently supported types for deploy & execute:
--like
option similar to SQL'sLIKE
logic #987 / PR [TASK] Documentation for 5.2 #1007https://github.com/Accenture/sfmc-devtools/wiki/06.b-~-Standard-Commands/_edit
retrieve
[...]
retrieve specific type and key via --like option:
Example:
How does it work? There are two wildcards often used in conjunction with the LIKE operator:
--like
option similar to SQL'sLIKE
logic #987 / PR [TASK] Documentation for 5.2 #1007execute
automation command to start SCHEDULED automations #870 / PR Feature/870execute
automation command to start scheduled automations + Feature/1018 add command topause
a scheduled automation #1019execute
anddeploy automation --execute
to alternatively trigger "runOnce" #1025 / PR Feature/1025 addschedule
anddeploy --schedule
for automations #1026execute
Command:
mcdev execute <business unit> <type> [key] [--like] [--schedule]
Alias:
mcdev exec
This command lets you start / run / execute metadata of a given type and key.
Currently supported types:
Example:
execute with --like operator:
execute with --schedule operator:
Instead of running an automation once, you can also start it with it's schedule
execute on all BUs:
This is a variation of execute command that allows you to execute specified items on all BUs. mcdev will look for the items of specified types and keys on all BUs and execute them.
Example:
execute
anddeploy automation --execute
to alternatively trigger "runOnce" #1025 / PR Feature/1025 addschedule
anddeploy --schedule
for automations #1026schedule
Command:
mcdev schedule <business unit> <type> [key] [--like]
Alias:
mcdev sched
This command is a shortcut for
mcdev execute --schedule
.Currently supported types:
Example:
mcdev schedule MyProject/DEV automation key1 mcdev schedule MyProject/DEV automation "key1,key2,key3"
schedule with --like operator:
mcdev schedule MyProject/DEV automation --like.key "myprefix_%"
schedule on all BUs:
This is a variation of execute command that allows you to execute specified items on all BUs. mcdev will look for the items of specified types and keys on all BUs and execute them.
Example:
mcdev schedule MyProject/* automation key1 mcdev schedule MyProject/* automation "key1,key2"
pause
a scheduled automation #1018 / PR Feature/870execute
automation command to start scheduled automations + Feature/1018 add command topause
a scheduled automation #1019pause
Command:
mcdev pause <business unit> <type> [key] [--like]
Alias:
mcdev exec
This command lets you pause metadata of a given type and key.
Currently supported types:
Example:
pause with --like operator:
pause on all BUs:
This is a variation of pause command that allows you to pause specified items on all BUs. mcdev will look for the items of specified types and keys on all BUs and pause them.
Example:
--execute
and--schedule
tofixKeys
#1067fixKeys
Command:
mcdev fixKeys <business unit> <type> [key] [--like] [--execute] [--schedule]
Alias:
mcdev fx
Retrieves specified metadata to ensure it works on the latest server version, prepares the update locally to ensure the key matches the name, and redeploys the metadata.
Example:
Please, note that you might need to retrieve dependent metadata to have up-to-date data in the retrieve-folder. For example, in case of queries after fixing the keys, you should retrieve automations.
--y.fixKeysReretrieve
--y.fixKeysReretrieve=false
attributeGroup
andattributeSet
#711 / PR feature/#711: add support to update and refresh attributeGroup #776https://github.com/Accenture/sfmc-devtools/wiki/05.-Metadata-Type-Support/_edit
retrieve
deploy
(create)deploy
(update)delete
changeKey
buildTemplate
retrieveAsTemplate
attributeSet
https://github.com/Accenture/sfmc-devtools/wiki/07.-Advanced-Configuration/_edit
--noLogColors
Optionally, you can disable colors in CLI output. This is useful if you integrate mcdev into systems that cannot display color codes.
Examples:
The text was updated successfully, but these errors were encountered: