I have a custom media item (which will serve as a download), that has two file uploads, one for a thumbnail and one for the download file. I've added an umbracoBytes label, and the alias of the download file is umbracoFile. Soon after saving the item the size is filled in correctly, but when I open the media node again the value is gone, and media.umbracoBytes and media.GetPropertyValue("umbracoBytes") are empty. Any suggestions?
Thanks!
P.S. Umbraco version is 6.1.6, upgraded from 6.1.5 by overwriting the bin files.
Get custom media file size
Hi,
I have a custom media item (which will serve as a download), that has two file uploads, one for a thumbnail and one for the download file. I've added an umbracoBytes label, and the alias of the download file is umbracoFile. Soon after saving the item the size is filled in correctly, but when I open the media node again the value is gone, and media.umbracoBytes and media.GetPropertyValue("umbracoBytes") are empty. Any suggestions?
Thanks!
P.S. Umbraco version is 6.1.6, upgraded from 6.1.5 by overwriting the bin files.
is working on a reply...