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
I upgraded from 4.11.1 and now the following Razor code no longer works:
<img src="@node.GetProperty("lineCardLogo")" width="124" height="83" style="border:1px gray solid;" />
Resulting HTML:
<img src="umbraco.MacroEngines.PropertyResult" width="124" height="83" style="border:1px gray solid;" />
Found the fix. Apparently "GetProperty" is no longer supported in this case. Here's the new Razor code:
<img src="@node.lineCardLogo" width="124" height="83" style="border:1px gray solid;" />
<img src="/media/4535/cbi_electric.png" width="124" height="83" style="border:1px gray solid;" />
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
6.0.0: GetProperty deprecated/changed?
I upgraded from 4.11.1 and now the following Razor code no longer works:
Resulting HTML:
Found the fix. Apparently "GetProperty" is no longer supported in this case. Here's the new Razor code:
Resulting HTML:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.