Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Custom table file field for upload?? View modes: 
User avatar
Member
Member
eagleag - 3/11/2013 3:50:19 AM
   
Custom table file field for upload??
Hi,

I would like to add Attribute type: FILE to custom table, to enable users to upload files.
this option does not exist.

any idea why? or ow to solve?

User avatar
Member
Member
eagleag - 3/11/2013 6:39:51 AM
   
RE:Custom table file field for upload??
File field in custom tables is not currently supported in Kentico CMS, it might be part of future versions.

User avatar
Certified Developer v7
Certified  Developer v7
ian-inkdigitalagency - 4/10/2013 5:21:15 AM
   
RE:Custom table file field for upload??
Create a new field with an Attribute type of Text then set the Form Control type to be File Selection

User avatar
Certified Developer v7
Certified  Developer v7
ian-inkdigitalagency - 4/10/2013 5:25:50 AM
   
RE:Custom table file field for upload??
Update : You can also use Image Selection and Media Selection

User avatar
Member
Member
afique-resolvtech - 11/14/2013 4:44:21 AM
   
RE:Custom table file field for upload??
Could you show me the settings? I still didn't managed to upload the file that I wanted into the custom table. Thanks

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 11/14/2013 5:00:53 AM
   
RE:Custom table file field for upload??
Hi,

Thank you for your message.

Ian is correct, Unless you want to develop a custom form control for this purpose, I would recommend using the Text Attribute type together with Media selection Form control.

You will enable this by selecting the Text attribude type and then seleting the Media selection form control underneath. You can find this settings in Development -> Custom tables -> Fields

If you decide that this functionality does not suit your needs, you can develop your own custom Form control as described devnet.kentico.com/docs/devguide/developing_form_controls.htm.

User avatar
Member
Member
afique-resolvtech - 11/14/2013 7:11:22 AM
   
RE:Custom table file field for upload??
Hi

Thanks for your help Richard. It's working.