The way our content items are designed is that all the content items have a grand/ grand grand owner content item of content type P_Type.
The findOwners() method returns only the immediate owner of a content Item. I needed to find the P_Item guid for a given content item. I was thinking to setup the PSRelationshipFilter and setOwnerType in it as P_Type.
Is there any API you could recommend that I can invoke to get the P_Type owner for a given GUID. Or I would need to write the custom code to recursively get all the parents, and then scan the list for P_Type owner.
thanks
Manvinder