If true { run Razor-Macro1} Else {run Razor-Macro2}
Basically I'm trying to create it so that if I have selected a media-item (Property-field on my document-type) it shall show the img and If I haven't selected any media it shall run a Razor Macro instead.
If true { run Razor-Macro1} Else {run Razor-Macro2}
Basically I'm trying to create it so that if I have selected a media-item (Property-field on my document-type) it shall show the img and If I haven't selected any media it shall run a Razor Macro instead.
Any ideas?
You can do this with RenderPage:
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.