Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Profiterole 232 posts 264 karma points
    Oct 05, 2011 @ 01:50
    Profiterole
    0

    Structured import... again!

    Ok,

    Sorry to bother you, but I don't understand how structured import works. I have a csv file. In it I have nodes.

    Exemple :

    Math (libraryId 1000)

    ---- Fractions (libraryId 1001)

    -------- Addition (libraryId 1001.1)

    ---- Algebra (libraryId 1002)

    So, in my csv, I created a column parentId and, for the node Fractions, I put 1000 as parentId. And, for the node Addition, I put 1001 in column parentId.

    During import, in primary key I chose libraryId. I enabled recursive imports and chose parentId as foreign key. I tought nodes with parentId would be child of the node specified in parentId, but it did not work.

    What I did wrong, what I don't understand.

    Please help me.

    Simon

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Oct 05, 2011 @ 08:40
    Richard Soeteman
    0

    HI Simon.

    As you describe it, it should work. Is it possible to send me the csv file so I can have a look? My email richard[at]soetemansoftware.nl

    Thanks,

    Richard

  • Profiterole 232 posts 264 karma points
    Oct 05, 2011 @ 16:59
    Profiterole
    0

    Hi Richard, I sent you my file.

    Thank you.

    Simonn

  • Profiterole 232 posts 264 karma points
    Oct 05, 2011 @ 17:08
    Profiterole
    0

    Sorry, I found my mistake... I chose nodeName instead of libraryId as primary key... Sometimes I ask question too fast!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies