Kentico 8: file upload for user settings fields

Victoria S asked on September 4, 2014 16:25

Hi,

I’m using Kentico 8 and have created 2 custom fields in User Settings to save user logo and cover images. I’m trying to use file upload control for these fields, as they will be exposed to users on a registration form. But when I save the form the images don’t get saved.

Is it a bug in Kentico or is there another control I should be using to upload images to User Settings? There is a User Picture field that I could use to store one of the images, but I don’t know what to do about the second one.

Please see the screenshots below

User Setting Field Image Text

Selected an image to upload Image Text

Clicked Save – All the fields are saved except for Logo Image Text

Recent Answers


Joshua Adams answered on September 4, 2014 20:51

As far as I understand, the users table as well as user settings table can't store images. You will have to connect or store the images to a custom table or another system table. Maybe try a media library to store them in.

0 votesVote for this answer Mark as a Correct answer

Yehuda Lando answered on September 5, 2014 02:40

Try using the metafile uploader control for the field, and use a guid column

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.