Try our conversational search powered by Generative AI!

Upload file in CMS is restricted?

Vote:
 

Hi!

I have a problem uploading anything else than images to the media panel in CMS edit mode.
For example JPG is fine but if I try to upload a PDF I’ll get a "Failed" in the status column.

Is there any restrictions by default for this in episerver 7.5?

#85100
Apr 15, 2014 11:44
Vote:
 

Do you have any contenttype that is defined to handled it? For example like this?

using EPiServer.Core;
using EPiServer.DataAnnotations;

namespace Site.Web.Models.Media
{
    [ContentType]
    public class SiteMediaData : MediaData
    {
        public virtual string Description { get; set; }
    }
}

    

#85101
Apr 15, 2014 12:06
Vote:
 

I did not, Thank you!

#85105
Apr 15, 2014 12:51
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.