top of page

Flow Screen Component: Create/Update Custom Metadata type Records using CSV and Flow

Feb 23, 2021
1 min read

Hi! 🙂

Recently, I had to go through the pain of manually creating a lot of Custom Metadata type records. And that pushed me to create this flow screen so no one has to go through that pain. 😂

Note: For those, who are familiar with CLI, you can use CLI command to create/update Custom Metadata type records via a CSV. However, there is one issue which at least prevented me from using it.

So, let’s just quickly see it in action, shall we?

Considerations for Preparing the CSV

  • Make sure NOT to put any blank value in the last column of the csv.

  • All CSV cells MUST be of Text type, in other words, ‘format the cells’ as Text type.

  • Format for Date and Date time values: YYYY-MM-DD HH:MM:SS

  • Use the API name(s) of the field of the CMDT in the CSV column header.

NOTE: Make sure to follow the notes for preparing your CSV otherwise the component will not work as expected.

Hope you find this helpful! I’ll catch you in the next one! ✌ Thank you for being an awesome reader! Subscribe to ForcePanda for receiving all the latest updates straight to your inbox. 🙂

 
 
 

Comments


bottom of page