Git Product home page Git Product logo

Comments (8)

JoernBerkefeld avatar JoernBerkefeld commented on September 26, 2024

@phjulia - maybe interesting for you?

from sfmc-devtools.

phjulia avatar phjulia commented on September 26, 2024

@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.

JoernBerkefeld avatar JoernBerkefeld commented on September 26, 2024

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.

phjulia avatar phjulia commented on September 26, 2024

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.

github-actions avatar github-actions commented on September 26, 2024

Closed by #1022.

from sfmc-devtools.

github-actions avatar github-actions commented on September 26, 2024

Closed by #1062.

from sfmc-devtools.

github-actions avatar github-actions commented on September 26, 2024

Closed by #1064.

from sfmc-devtools.

github-actions avatar github-actions commented on September 26, 2024

Closed by #1067.

from sfmc-devtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.