Coder Social home page Coder Social logo

Comments (5)

chaitanyakurella avatar chaitanyakurella commented on August 23, 2024

Any update on this having the same issue, Is this the issue because we have empty values ?

from custommetadataloader.

Usman8286 avatar Usman8286 commented on August 23, 2024

@ktheralaSFDC @chaitanyakurella
From custom_md_loader/classes/MetadataUtil.cls remove lines 90-92

if (String.isBlank(singleRowFieldValues)) {
    continue;
}

from custommetadataloader.

hapaxio avatar hapaxio commented on August 23, 2024

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.

necoyama3 avatar necoyama3 commented on August 23, 2024

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.

alex-wilson-gwf avatar alex-wilson-gwf commented on August 23, 2024

Duplicate of #9

from custommetadataloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.