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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...