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.

Filter by
Sorted by
Tagged with
1
vote
2answers
51 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
0answers
128 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
1answer
39 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 ...
2
votes
1answer
351 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
1answer
240 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
1answer
93 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
3answers
616 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
1answer
379 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
0answers
78 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
1answer
946 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
3answers
3k 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 ...