Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Probably I am missing something obvious, but I can't see how to find out the owning repository (ie the publication where a component is created) when I have opened a component with the Core Service... ComponentData.LocationInfo only has ContextRepository, which I guess is the publication which I opened the component in.

share|improve this question
up vote 8 down vote accepted

Either ComponentData.BluePrintInfo.OwningRepository or ComponentData.BluePrintInfo.PrimaryBluePrintParentItem is what you are looking for, depending on whether you need the parent of the item or the item in the top of the BluePrint chain where it was created in.

share|improve this answer
Thanks Bart - I also see PrimaryBluePrintParentItem - I guess this is the real parent, and OwningRepository can be the place where the item has been localized between its parent and context publications... right? – Will Price Feb 13 '14 at 13:16
@WillPrice Yup that is my understanding too, so you might indeed need ComponentData.BluePrintInfo.PrimaryBluePrintParentItem – Bart Koopman Feb 13 '14 at 13:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.