Comments (5)
Any update on this having the same issue, Is this the issue because we have empty values ?
from custommetadataloader.
@ktheralaSFDC @chaitanyakurella
From custom_md_loader/classes/MetadataUtil.cls remove lines 90-92
if (String.isBlank(singleRowFieldValues)) {
continue;
}
from custommetadataloader.
A few more gotchas that seem to trigger this problem: make sure you don't have any text fields whose values contain delimiter characters. Probably not an exhaustive list, but I think these characters cause issues in text fields:
- comma (,)
- semi-colon (;)
- single-quote (')
- double-quote (")
I had to remove these from my batch upload, then manually re-enter the values afterwards.
In addition, Number and Percent fields do not seem to handle blank values in the CSV. All types of Text fields can be blank, as can Boolean and Picklist. For my number fields, I inputted an easy-to-identify number that matched the range (like 999), then manually deleted these values after the upload. Not sure about some of the more exotic fields like URL, but if you are still hitting the problem I would experiment with adding placeholder values field type by field type to see if there is another one besides number that's causing problems.
from custommetadataloader.
When I try to update a string field with blanks, I get "The number of field values does not match the number of header fields on line1", how do I update to blanks (empty values)?
from custommetadataloader.
Duplicate of #9
from custommetadataloader.
Related Issues (20)
- Error occured processing component CMDT.XXX.Email: invalid email address: XX (INVALID_EMAIL_ADDRESS)
- Error while deploying in production HOT 2
- [Bug] DeveloperName disregarded when Label also present in file.
- [Bug] Tool allows mulitple Separator Types in a single file
- [Bug] Tool does not parse BOM properly HOT 1
- [Bug] Returned vlaues go over visualforce heap size limit HOT 1
- Error deploying package
- How to delete this tool from sandbox ? HOT 1
- Parsing Error HOT 3
- IO Exception: Exceeded max size limit of 6000000 HOT 4
- INVALID_OPERATION: rollbackOnError option must be true on a production org
- Web service callout failed: WebService returned a SOAP Fault: 'Tier 2' is not valid for the type HOT 1
- Error when loading a relationship field HOT 1
- Remote Site Settings Issue HOT 6
- Field XX in account is not available in this org due to insufficient privileges
- Web service callout failed: WebService returned a SOAP Fault: Cannot flip on commit allowed, disabled by:Commit Not Allowed By DBContext:Protect.Apex.Transaction.Contract HOT 1
- Getting Field Header error when they match, even with Sample csv HOT 3
- Web service callout failed: WebService returned a SOAP Fault: Only the following configurations are supported : 1) if the type is mentioned i.g. type="xsi:boolean" 2) With metadata CRUD API with fullName required faultcode=soapenv:Client faultactor=
- An error has occurred while saving dataAttempt to de-reference a null object---117
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custommetadataloader.