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?
What error do you get when adding the file?
I have solved that issue.
Glad it's fixed!
Mind sharing the solution with the rest of the community for future reference?
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?