3 comments

  1. The idea of Custom Metadata was to store the data independent from org it’s located on. Adding metadata record Id you destroy it’s main benefit. You created a great article but I don’t see it useful, sorry.

  2. I have a use case where I have to dynamically retrieve the custom metadata record depending if the current environment is a sandbox or production. That requires Apex, correct? I cannot simply hardcode a record id like your demo.

Leave a Reply