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.
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
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.
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
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
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.
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
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
Will take a look at structured data Richard :)
is working on a reply...