Try our conversational search powered by Generative AI!

How to upload .html to Global asset folder?

Vote:
 

I have the GenericMedia file like this

[ContentType(DisplayName = "GenericMedia", GUID = "9f786847-5883-4323-ad43-feeef773e271", Description = "")]
[MediaDescriptor(ExtensionString = "pdf,doc,docx,html")]
public class GenericMedia : MediaData
{
public virtual String Description { get; set; }
}

When I try to upload a .html file to Global assets I couldn't to that? Any suggestion on how to do that?

#89267
Aug 12, 2014 14:22
Vote:
 

What error do you get when adding the file?

#89278
Aug 12, 2014 15:14
Vote:
 

I have solved that issue.

#89300
Aug 12, 2014 21:39
Vote:
 

Glad it's fixed!

Mind sharing the solution with the rest of the community for future reference?

#89309
Aug 13, 2014 9:13
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.