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
Im trying to convert this code from umbraco 7 into Umbraco 8.
var returnVal = ""; var text = umbraco.library.GetPreValueAsString(LinksSubheading); switch (text) { case "List Whole Alphabet": returnVal = "AZ"; break; case "List Children Only": returnVal = "CAT"; break; case "Hide": returnVal = "NONE"; break; } return returnVal;
I cant find an alternative - any ideas?
Hi
Please see this thread https://our.umbraco.com/forum/using-umbraco-and-getting-started/99518-getprevalueasstring-alternative-in-umbraco-v8
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
Alternative to GetPreValueAsString in Umbraaco 8
Im trying to convert this code from umbraco 7 into Umbraco 8.
I cant find an alternative - any ideas?
Hi
Please see this thread https://our.umbraco.com/forum/using-umbraco-and-getting-started/99518-getprevalueasstring-alternative-in-umbraco-v8
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.