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
Hi guys, attempting to use a content picker in a macro to embed something in RTE, ive been trying stuff like @Model.MacroParameters["story"];
And I think its good, but i am getting umb://document/4d9e2aff192e409c845e808d3f4ea5fd;
My entire macro partial view is only this currently:
Not sure what the above is, so how would i turn that into something I can access properties of the item, such as images, title, dates etc.
var storyId = Model.MacroParameters["story"];
var storyContent = Umbraco.TypedContent(storyId);
It doesn't work for me.
var moreId = Model.MacroParameters["more"];
var more = Umbraco.TypedContent(moreId);
and more just returns null
I am using Umbraco 7.6.0
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted