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
How can I call "GetVortoValue" method?
I am trying to call it like this:
@Model.Content.GetVortoValue("bodyText")
But it doesn't seem to work.
Hi Moran,
Have you tried something like this:
@Model.GetVortoValue("bodyText")
Hope this helps,
/Dennis
No, it doesn't work I get a compilation error.
I think your missing a using.
Try adding this at the top of your view :
@using Our.Umbraco.Vorto.Extensions;
Dave
Sorry, was away on holiday. As Dave says though, be sure to add the Our.Umbraco.Vorto.Extensions using statement to the top of your view.
Our.Umbraco.Vorto.Extensions
Matt
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
Calling GetVortoValue
How can I call "GetVortoValue" method?
I am trying to call it like this:
But it doesn't seem to work.
Hi Moran,
Have you tried something like this:
Hope this helps,
/Dennis
No, it doesn't work I get a compilation error.
I think your missing a using.
Try adding this at the top of your view :
Dave
Sorry, was away on holiday. As Dave says though, be sure to add the
Our.Umbraco.Vorto.Extensions
using statement to the top of your view.Matt
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.