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
this is from umbraco.config file
<widgets> <widget isCollapsed="false"> <fileMediatype>1</fileMediatype> <overskrift>test</overskrift> <bodyText>dlkfvkladfk www.onkelb.dk</bodyText> <slideLink> <contentPicker> <content>1100</content> </contentPicker> </slideLink> <skjulIPagesslide>1</skjulIPagesslide> <umbracofile>1094</umbracofile> </widget>
When I call sildelink in Razor to get the id i get umbraco.MacroEngines.DynamicXml how do i get ID out?
Since it's dynamicXml you could try this:
slideLink.contentPicker.Content or slideLink.content
More info: http://umbraco.com/follow-us/blog-archive/2011/2/28/umbraco-razor-feature-walkthrough-%E2%80%93-part-3 - http://umbraco.com/follow-us/blog-archive/2011/9/15/umbraco-razor-feature-walkthrough%E2%80%93part-6.aspx
Jeroen
thank you @jeroen
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
umbraco.MacroEngines.DynamicXml in Razor
this is from umbraco.config file
<widgets>
<widget isCollapsed="false">
<fileMediatype>1</fileMediatype>
<overskrift>test</overskrift>
<bodyText>dlkfvkladfk www.onkelb.dk</bodyText>
<slideLink>
<contentPicker>
<content>1100</content>
</contentPicker>
</slideLink>
<skjulIPagesslide>1</skjulIPagesslide>
<umbracofile>1094</umbracofile>
</widget>
When I call sildelink in Razor to get the id i get umbraco.MacroEngines.DynamicXml how do i get ID out?
Since it's dynamicXml you could try this:
More info: http://umbraco.com/follow-us/blog-archive/2011/2/28/umbraco-razor-feature-walkthrough-%E2%80%93-part-3 - http://umbraco.com/follow-us/blog-archive/2011/9/15/umbraco-razor-feature-walkthrough%E2%80%93part-6.aspx
Jeroen
thank you @jeroen
is working on a reply...