Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > How to enable website users to create document type instances using a webpart? View modes: 
User avatar
Kentico MVP
Kentico MVP
mike419 - 12/9/2013 11:29:05 AM
   
How to enable website users to create document type instances using a webpart?
Hello,

I want to enable registered website users to create photo albums and upload photos to that album. Each album should have a name, venue and date.

I've created a document type with those three columns. I also added a fourth column that utilises the Document attachments attribute type to house the associated images.

How can I create a form in a Webpart using this document type?

Ideally, I want website users to be presented with a form that displays:

- textboxes for each of the three text fields
- a multiple file uploader for the images
- a "Create Album" submit button, which creates an instance of the photo album doc type and with all the photos as document attachments.

If this is not possible, any guidance on how the API could be used to achieve this would be greatly appreciated.

Thank you, Mike

User avatar
Kentico MVP
Kentico MVP
mike419 - 12/9/2013 11:34:18 AM
   
RE:How to enable website users to create document type instances using a webpart?
Apologies, this should be in version 7 forum, not version 6.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 12/10/2013 4:21:36 AM
   
RE:How to enable website users to create document type instances using a webpart?
Hello.

There is built-in module for creating content for live site users. This module is called User contributions (Wiki) and you can find more info and some example of use here. Does it help?

Best Regards,
Radek Macalik