Questions tagged [inheritance]
Inheritance allows the overlapping fields to be moved into separate data templates that can be used by any data template that needs the fields. All questions related to Sitecore Template Inheritance should use this tag.
11 questions
1
vote
2
answers
129
views
How to go about multiple inheritance for code
There are three templates:
BaseProduct - Title, Price
SpecificProduct - Color, Weight
[SpecificProduct inherits BaseProduct]
SpecificProductPage - PageTitle
[SpecificProductPage inherits ...
4
votes
0
answers
201
views
Is it possible to inherit insert options from multiple base templates?
I'm trying to inherit insert options from two templates. I created a template item and set both of the templates as base templates in the Data section. However, only the first base templates insert ...
0
votes
1
answer
198
views
Is there a pipeline/processor or way to have dynamic Field Titles for fields shared across multiple templates?
Preamble:
Sitecore supports having content editors see a customized field title, however this field title is shared across every item that inherits this item.
For Image Fields I'd like to indicate ...
3
votes
1
answer
839
views
Security Permissions - Individual inheritance rules set for this account
In my Sitecore instance some red text has appeared next to the Inheritance section in the Assign Security Rights dialog box (see screenshot below). "The item has individual inheritance rules set for ...
2
votes
1
answer
424
views
Inherit child template to the parent template using Powershell
I have 2 templates:
Template A: PersonalTemplate
Template B: PrivateTemplate
Here I want to inherit Template B in Template A using the PowerShell script.
0
votes
1
answer
108
views
Rendering cloning | item fields are not as per their template
Environment: Sitecore 9.0.2 + SXA 1.7.1
What I am doing:
The field labels of the inbuilt templates and renderings provided by SXA were not compatible with my requirement. So, I started with creating a ...
7
votes
3
answers
715
views
Is it okay to add fields to Standard Template or add Base Templates to it?
I would like to add a field to all of my templates. The easiest approach appears to be to either
Add the field directly to Standard Templates (/sitecore/templates/System/Templates/Standard template) ...
3
votes
1
answer
815
views
Changing renderings on a base template standard values and having all inheriting templates update
I have a base template called Base Page which has a few renderings on it in the standard values that all pages should have. I have a bunch of templates inheriting from Base Page that also have a ...
0
votes
0
answers
120
views
Sitecore Control to select inherited field?
Using Sitecore 9.0.1, I need to select a field but this field may be inherited from a base template. ie. I wont the content author to be able to select a field name using a suitable control and this ...
2
votes
1
answer
1k
views
Inherited fields not showing up in Item
I have an item that has a template with 2 base templates, the field of one of these templates is not showing up on the item, I verified that I'm using the correct template, has this ever occurred with ...
1
vote
3
answers
4k
views
Standard values on base templates
This is a question about defining standard values and base templates. Considering the following:
I have a base template B with a field called Title. Is it possible to define the standard value for ...