Using DynamicNode you're going to be pulling values from the cache, and I don't think they store the actual value, only the text there. If you use Document, you can get to the value stored in the database:
Document document = new Document(Model.Id); @document.getProperty("dropDownProperty").Value
Getting prevalue value not text
My docType has a dropdown list to select one of the properties. If I use
I get the 'Text' of the dropdown. How do I get the value instead? (Which is being recorded in the database)
You'll have to use the GetProperty method. Something like:
@Model.GetProperty("dropDownProperty").Value
Yeah, that returns the same. Should I be changing the .Value?
Using DynamicNode you're going to be pulling values from the cache, and I don't think they store the actual value, only the text there. If you use Document, you can get to the value stored in the database:
...and you might need to do a ToString() on that value.
Ta. Not sure I've decided to go about this in the right fashion at all
is working on a reply...