function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shohrat MuhamovShohrat Muhamov 

Custom metadata record insert error

I'm getting below error when I try to insert custom metadata records from CSV file through the VS Code. I tried this (https://salesforce.stackexchange.com/questions/333535/errors-running-sfdx-forceorg-commands-getnumber-is-not-a-function) and this (https://github.com/forcedotcom/cli/issues/544) , but it didn't help. How this can be resolved?
 
ERROR running force:cmdt:record:insert:  Cannot read properties of undefined (reading 'replace')

Below is the data in a csv.
 
Industry__c,T_Industry__c
Test,Test

 
AbhinavAbhinav (Salesforce Developers) 
As per comment on https://github.com/forcedotcom/cli/issues/544 this issue has already been identified . and they suggest raise as ticket to get more input on this.
jam jakejam jake
Visual Studio SOQL Query Builder is a VS code extension from Salesforce which we can use to create and run SOQL inside VS code. Using Visual Studio SOQL Builder we can see actual results without doing any guesswork. And we can do export records in JSON or CSV format. So if we need to take data backup or data migration we can easily do that using this new extensions.
So today we will check how we can install this and use it.
https://salesforce.stackexchange.com/questions/333535/errors-running-sfdx-forceorg-commands-getnumber-is-not-a-function
Sai RavulapatiSai Ravulapati
Any update you got on this? I am also facing the same issue.