Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Bulk Insert of pages View modes: 
User avatar
Member
Member
egarrison-wte - 5/18/2012 2:27:47 PM
   
Bulk Insert of pages
I have a project were i need to create a large amount of pages. Today I am planning on creating a custom table to hold the attributes. I also need to have real pages under categories(with page title, meta, etc). It will be 100,000 pages.

First I populate the custom table with the 100,000 items.
Then create the 100,000 inserts into [CMS_Tree]. I have a mapping table to put them in the right category.
Third, I insert into [CMS_Document] and and have a join back to CMS_Tree to get Nodeid, NodeCustomData and NodeAliasPath.

Nobody has seen an StoredProceedure or anything to make this easier correct?






User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/20/2012 10:03:05 AM
   
RE:Bulk Insert of pages
Hi,

I would rather recommend using our import tool or our API examples where you can find the API how to manage documents since it is not that easy to insert them just to DB. There are many things around it to be ensured (e.g. content management internals).

Best regards,
Juraj Ondrus