Copied to clipboard

Flag this post as spam?

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


  • Tim 168 posts 372 karma points
    Sep 10, 2014 @ 21:10
    Tim
    0

    Fastest way to import data

    We've got a parent/child relationship structure and need to import around 800 pages at a time. There are a number of lookups which we have optimised but it seems that the bulk of the time is taken up with calling _contentService.SaveAndPublish(node);

    Is there a way we can create all nodes and then save and publish all in one go? We're on 6.1.6.

    Cheers.

    Tim

  • Charles Afford 1163 posts 1709 karma points
    Sep 14, 2014 @ 21:05
    Charles Afford
    0

    Can you use CMSImport package? That might be good.

    The problem with SaveAndPublish() is that there have been bugs raised where it has become progressively slower each time you call the method? Thus calling it 800 times is going to be slow

    Charlie

  • Tim 168 posts 372 karma points
    Oct 19, 2014 @ 22:19
    Tim
    0

    Thanks Charlie however we can't use the CMSImport package as it this is structured data as part of an automated import process.

    They must have a way around it though so I'll take a look at it under the hood.

  • Charles Afford 1163 posts 1709 karma points
    Oct 20, 2014 @ 20:06
    Charles Afford
    0

    Tim maybe you could just call the save() rather than SaveAndPublish() i am not sure what that does time wise. Let me know what you find :), good luck.

    Charlie

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 21, 2014 @ 10:40
    Richard Soeteman
    0

    Hi Tim,

    For 99 Euro you can use structured data ;-) and can be automated as well. Hope to hear your business case and why CMSImport would fail in that scenario.

    Cheers,

    Richard

  • Charles Afford 1163 posts 1709 karma points
    Nov 03, 2014 @ 21:19
    Charles Afford
    0

    Will take a look at structured data Richard :)

Please Sign in or register to post replies

Write your reply to:

Draft