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?
You can find the link Package(unmanaged) link and source code here: https://github.com/forcePanda/Flow-Repo/tree/master/Screen%20Components/CSV%20to%20Custom%20Metadata%20Records%20Component
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. 🙂
Pingback: Create Custom Metadata Records from Flow & a CSV File – UnofficialSF