-
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/1325 add multi type support and metadata option to buildtemplate and builddefinition #1327
Conversation
Coverage ReportCommit:b039032Base: develop@65257cb Details (changed files):
|
https://github.com/Accenture/sfmc-devtools/wiki/06.c-~-Templating-Commands/_edit To create templates, one can use retrieveAsTemplate ( If you want to use templates, then you have essentially three (+1) ways:
Option 4 is also available and relies on you using a git repo and the commands buildTemplateCommand: Alias: The This command is a prerequisite for the
Currently supported types: Check out Metadata Type Support. Example: mcdev bt MyProject/DEV dataExtension MyUserTable pilotMarketDEV1
mcdev bt MyProject/DEV --market pilotMarketDEV1 -m dataExtension:MyUserTable This will result in buildTemplate for multiple sources: You can also create multiple templates with multiple sources at once. Simply specify them in a comma-separated list and put that list in quotes: mcdev bt MyProject/DEV dataExtension "table1,table2,table3" pilotMarketDEV1
mcdev bt MyProject/DEV query "sql1,sql2" pilotMarketDEV1
mcdev bt MyProject/DEV --market pilotMarketDEV1 -m dataExtension:table1 -m dataExtension:table2 -m dataExtension:table3 -m query:sql1 -m query:sql2 This will result in the following files being created in your
buildDefinitionCommand: Alias: The This allows you to double-check if you changed something by comparing the before and after using your favorite Git client. You then have to manually copy the files you want to deploy into the respective
Currently supported types: Check out Metadata Type Support. Example: mcdev bd MyProject/QA dataExtension MyUserTable pilotMarketQA1
mcdev bd MyProject/QA --market pilotMarketDEV1 -m dataExtension:MyUserTable This will result in the following files being created in your
buildDefinition for multiple sources: You can also create definitions based on multiple templates at once. Simply specify them in a comma-separated list and put that list in quotes: mcdev bd MyProject/QA dataExtension "table1,table2,table3" pilotMarketDEV1
mcdev bd MyProject/QA query "sql1,sql2" pilotMarketDEV1
mcdev bd MyProject/QA --market pilotMarketDEV1 -m dataExtension:table1 -m dataExtension:table2 -m dataExtension:table3 -m query:sql1 -m query:sql2 This will result in the following files being created in your
buildDefinitionBulkCommand: Alias: With Instead of passing in the name of credentials, Business Units and markets, you simply refer to a pre-defined market list in your Note: Before using this command, you need to configure your markets first! Check out our guide on Market List Configuration and Market Configuration to understand how to use bulk templating and prepare your market config. Example: mcdev bdb pilotMarketsQA dataExtension MyUserTable retrieveAsTemplate[DEPRECATED] Command: Alias: The This command is a prerequisite for the
Currently supported types: Check out Metadata Type Support. Example: mcdev rt MyProject/DEV dataExtension MyUserTable pilotMarketDEV1 This will result in retrieveAsTemplate for multiple sources: You can also create multiple templates with multiple sources at once. Simply specify them in a comma-separated list and put that list in quotes: mcdev rt MyProject/DEV dataExtension "table1,table2,table3" pilotMarketDEV1 This will result in the following files being created in your
|
PR details
What changes did you make? (Give an overview)
Further details (optional)
...
Checklist