Go back to mobile site

 

Please note: The forums are currently intended for Kentico community. Although we monitor them time to time, we cannot guarantee a timely response. If you need a help with Kentico CMS, please feel free to send your message to support@kentico.com.

If you want to add new post or reply to post, please sign in.

Search: 

Best Practices
General > Best Practices > Bulk custom document creation View modes: 
User avatar
Member
Member
ian.cheong-eurorscg.com - 5/4/2011 12:20:56 AM
     
Bulk custom document creation
Hi,
I am fairly new to Kentico and I've been asked to implement a feature:

I have 2 documents Prj.SomeGallery and Prj.SomeGalleryImage.
Prj.SomeGalleryImage is a child of Prj.SomeGallery.

The Prj.SomeGallery has it's fields (Name, ThumbnailImage, Description, LinkURL etc.)
Teh Prj.SomeGalleryImage merely has (Image, AltText)

I need to create a feature that allows the user to bulk upload images and get the CMS to automatically create the Prj.SomeGalleryImage child documents under the selected Prj.SomeGallery document.

thanks in advance.
ian

User avatar
Kentico
Kentico
kentico_radekm - 5/11/2011 3:21:32 AM
     
RE:Bulk custom document creation
Hello.

If you were using cms.file document type, you could use File import tool, allowing you to upload images (or other kind of files) and create corresponding documents automatically. However, it works for cms.file document type only.

In your case, I would recommend you to use our API and ensure it code. We have examples how to create new document of given document type, and also how to create document with attachments. You can find API examples on http://devnet.kentico.com/docs/devguide/api_overview.htm, sections Managing documents and Managing attachments and files. Thank you.

Best Regards,
Radek Macalik

1

Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2013 Kentico Software | Powered by Kentico CMS