Creating a prevalue source based on the standard Dropdownlist datatype - will it save the numeric value or the actual values which are next to useless to anyone export the data back out? I can't see as locally I am unable to save the data to see (unless I'm missing something?).
What value you get depends on how you access it. In XSLT or Razor then the property returns the actual (string) value - which is what you will probably be doing msot of the time. However, from memory, if you go via the Node API then I think you get the numeric value (but there is way of looking up the actual value).
OOPS: Sorry, didn't realise this was a Contour question. My reply was for standing Umbraco datatypes, for which I'm not sure. Sorry :)
Prevalues based on Dropdown List datatype
Creating a prevalue source based on the standard Dropdownlist datatype - will it save the numeric value or the actual values which are next to useless to anyone export the data back out? I can't see as locally I am unable to save the data to see (unless I'm missing something?).
What value you get depends on how you access it. In XSLT or Razor then the property returns the actual (string) value - which is what you will probably be doing msot of the time. However, from memory, if you go via the Node API then I think you get the numeric value (but there is way of looking up the actual value).
OOPS: Sorry, didn't realise this was a Contour question. My reply was for standing Umbraco datatypes, for which I'm not sure. Sorry :)
More interested in what comes out when you export the data using the the OOTB export feature. I can't test this locally by the looks of it.
Thanks, Simon
Just tested and it saves the actual value (so not the id but the text)
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.