Coder Social home page Coder Social logo

Comments (6)

keerthanshetty25 avatar keerthanshetty25 commented on August 23, 2024 1

Hi
Even i had faced the similar issue using this tool and i feel there is issue with controller coding of the package. but i have done workaround which will work. below are the steps you have to do to upload the content

  1. once you create .csv file open this file in notepad++ and and replace comma(,) with semicolon(;) for all
    2.Save the file as .csv itself and now upload this file in custom meta data loader.

it has worked for me i hope it will work for you also

Thanks

from custommetadataloader.

vinita1bisht avatar vinita1bisht commented on August 23, 2024 1

@keerthanshetty25 that worked! Thank you so much!

from custommetadataloader.

bla1ne avatar bla1ne commented on August 23, 2024 1

Happened to me as well.
@keerthanshetty25 workaround worked like a charm.

from custommetadataloader.

liz-mangano avatar liz-mangano commented on August 23, 2024

I'm having the exact same issue. Probably going to be faster to manually create the records at this point. Bummer. Disappointing first impression of what could be a really cool tool!

from custommetadataloader.

ministe2003 avatar ministe2003 commented on August 23, 2024

I personally found that the fix for this was to update MetadataUtil lines 65-72 with this:

        Set<String> fieldNameSet = new Set<String>();  
        for (String fieldNames :header) {
            if (String.isBlank(fieldNames)) {
                continue;
            }

            fieldNameSet.addAll(fieldNames.split(';'));
        }

and lines 87-95 with this:

            List<String> fieldValueList = new List<String>();

            for (String singleRowFieldValues :singleRowOfValues) {
                if (String.isBlank(singleRowFieldValues)) {
                    continue;
                }
            
                fieldValueList.addAll(singleRowFieldValues.split(';'));
            }

I would submit a pull request for this, but not sure if it's the perfect fix for everyone or not. I found that since the sets were being assigned each time in the loop rather than just adding to the set, it was overwriting the previous column's data

from custommetadataloader.

sricharananand avatar sricharananand commented on August 23, 2024

Issue should be resolved now via commit on Aug 9, 2017 - closing this issue.

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.