I have an Item in Sitecore, and I know it's derived from a certain base template. I have that base template ID, but I want to get the instance of this base template that is part of my page. I want it as an item, so for example I can get the ID of the template internal of the page.
To be more clear:
- Page called A1 of template A
- Template A has as base template the template B
- B is part of page A1 as an instance called B1 (field values specific for the page A1)
How can I get B1 as stand alone Item/ID?
I need to build on it an EditFrame to use in experience editor. Have an EditFrame on this base template instance avoid problems with Synonym fields in the Page.
Any help is appreciated.
The component in red square is inherited from a base template, but I know it has an specific id (from yml of the page). I need to take that ID. and not the base template ID.