-
Notifications
You must be signed in to change notification settings - Fork 12
Lateral Fallback
hhog-tkamin edited this page Dec 16, 2015
·
4 revisions
A field falls back to the value of another field, or chain of fields
- If a template has a field that requires lateral fallback then that template must be based on the
/sitecore/templates/System/Templates/Fallback template
template not/sitecore/templates/System/Templates/Standard template
- Go to the
__standard values
of the template or the item itself and make sure View -> Standard Fields is checked. - You should see a "Fallback" section that has a Single-Line Text field type called Fallback Fields.
- This field may be formatted in 2 different ways, Name/Value pair or XML.
Name/Value pair - Should be formatted like a query string with pipes separating multiple values. eg. Name=Value1|Value2&Name2=Value3
XML -
<fallback> <setting target="{id}" source="{id}|{id}|{id}..." enableEllipsis="true|false" clipAt="{number chars}" /> <setting target="{id}" source="{id}|{id}|{id}..." enableEllipsis="true|false" clipAt="{number chars}" /> </fallback>