Saturday, August 19, 2017

Sitecore - Set sequences for template fields - Combined with base and derived tamplate

Hi All,

The problem statement - One template - having two base template, the sequence of all combined field should be mixed and match.

Example -

Base Template 1 - field Heading 1, Heading 2
Base Template 2 field Heading 3, Heading 4
Derived Template fields Heading 5 Heading6.

Result of final template's field should be

Heading 1
Heading 3
Heading 5
Heading 2
Heading 4

Solution:-

For setting up sequence order within template it's very straight forward - change the value in sequence field.

But for the base template - Make sure both the sections( Base Template 1, Base Template 2 and Drived Template ) in base and derived should have same sequence values.

No comments:

Post a Comment