Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Save attachments in media library View modes: 
User avatar
Member
Member
dmitry_usanov-epam - 2/3/2012 2:24:30 AM
   
Save attachments in media library
Hello,

I am planning to create a document type that will have some properties and property "image" for uploading more then one photo. I use DocumentsAttahcment control, but i can't saved files to media library. How can I solve this problem?

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/6/2012 2:24:39 AM
   
RE:Save attachments in media library
Hello,

This functionality is already implemented, so you can just use the mentioned Document attachments web part for displaying images of a document and you will upload these images in the Attachments section under the Properties tab of your document.

Best regards,
Jan Hermann

User avatar
Member
Member
dmitry_usanov-epam - 2/6/2012 2:49:00 AM
   
RE:Save attachments in media library
Thank you.
But can I save documents what I attach in media library?

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/6/2012 6:26:11 AM
   
RE:Save attachments in media library
Hello,

Of course, but you need to set the field for an image as the following one:

Attribute type: Text
Attribute size: 100
Allow empty value: true
Display attribute in the editing form: true
Form control type: Selector
Form control: Media selection

And now when you click on the Select button, you can add a new image through the New file link.

Best regards,
Jan Hermann