Comments (8)
@phjulia - maybe interesting for you?
from sfmc-devtools.
@JoernBerkefeld
so basically mcdev fixKeys Project/BU type key
? changeKeyField should be by default name? key
and type
are optional, but BU name
is a required parameter
#1
mcdev fixKeys Project/BU type key
#2
mcdev fixKeys Project/BU type
#3
mcdev fixKeys Project/BU
(3) would update the key to match the name in of all metadata of all types (where key can be updated)
from sfmc-devtools.
Took the liberty of adding some formatting to your Post ;-)
Yes, in principle like that. Without type
(=for all types), things might become problematic due to interdependencies.
To avoid needing to handle those, it might make sense to make type required.
Also, we should probably enforce a full retrieve of the chose type as a first part of what fixKeys does.
from sfmc-devtools.
fixKeys
Command: mcdev fixKeys <business unit> <type> [key] [--like]
Alias: mcdev fx
Retrieves specified metadata to ensure it works on the latest server version, then prepares the update locally to ensure the key matches the name, and finally redeploys the metadata.
Example:
mcdev fixKeys MyProject/DEV query
mcdev fixKeys MyProject/DEV query "key1,key2"
mcdev fixKeys MyProject/DEV automation
mcdev fixKeys MyProject/DEV automation "key1"
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.
from sfmc-devtools.
Closed by #1022.
from sfmc-devtools.
Closed by #1062.
from sfmc-devtools.
Closed by #1064.
from sfmc-devtools.
Closed by #1067.
from sfmc-devtools.
Related Issues (20)
- [BUG] mcdev upgrade not executed with skipInteraction if called internally HOT 1
- [FEATURE] harmonize how type/key combos are passed in with sf-cli HOT 2
- [BUG] bu selection wizard should be disabled if skipInteraction is active HOT 3
- [FEATURE] add --metadata option to deploy HOT 1
- [FEATURE] hide -error.log file behind new option HOT 1
- [BUG] explainTypes --json returns incorrect value for script.supports.changeKey HOT 2
- [FEATURE] Support Journey Builder Splits
- [FEATURE] support journey-created automations
- [TASK] auto-filter dataExtension _MobileAddressApplication HOT 1
- [FEATURE] allow updating data retention policy on existing dataExtensions
- [FEATURE] enhance readability of dataExtension retention policy HOT 1
- [FEATURE] compare 2 BUs to find & deploy differences
- [FEATURE] show retention policy details in dataExtension doc-md
- [BUG] buildTemplate and buildDefinition do not handle unknown keys gracefully
- [BUG] fixKeys does not re-run document() for supported types
- [BUG] fixKeys fails for emailSend and senderProfile HOT 2
- [BUG] fixKeys for senderProfile errors on deploy HOT 1
- [BUG] fixKeys should use type-specific internal filters before finding items HOT 1
- [FEATURE] no owner check for assets HOT 3
- [FEATURE] automatically add suffix to key HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfmc-devtools.