-
Notifications
You must be signed in to change notification settings - Fork 58
Save Formats
Hendy Racher edited this page Apr 1, 2017
·
5 revisions
The picker property editors can be configured with a Save Format to determine how the selected items are stored:
"keyValue1, keyValue2, ..."
[
{
'key' : 'keyValue1',
'label' : 'labelValue1'
},
{
'key' : 'keyValue2',
'label' : 'labelValue2'
},
...
]
<Picker>
<Picked Key="keyValue1">
<![CDATA[labelValue1]]>
</Picked>
<Picked Key="keyValue2">
<![CDATA[labelValue2]]>
</Picked>
...
</Picker>
When using the XML save format, the XML is saved into the Umbraco.config file as above (where only the label is in CDATA; normally Umbraco will store the full value of a data type into CDATA). This allows the for full XPath querying of picked items.
In addition to these save formats, there's also a Relations Only option where a local value is not stored, this causes the relations data to be become the primary data source.