Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For some reason I'm getting the error "'umbraco.MacroEngines.DynamicMedia' does not contain a definition for 'umbracoFile'"
from the following code
@inherits umbraco.MacroEngines.DynamicNodeContext @foreach (dynamic mediaItem in @Model.Media("videoFolder").Children) { @mediaItem.umbracoFile }
I definitly have umbracoFile as a property of the media.
You don't need the inherit. This should work for you:
@foreach (dynamic mediaItem in Model.MediaById(Model.videoFolder).Children){ @mediaItem.umbracoFile }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
'umbraco.MacroEngines.DynamicMedia' does not contain a definition for 'umbracoFile'
For some reason I'm getting the error "'umbraco.MacroEngines.DynamicMedia' does not contain a definition for 'umbracoFile'"
from the following code
I definitly have umbracoFile as a property of the media.
You don't need the inherit. This should work for you:
is working on a reply...