Skip to Content
avatar image
Former Member

Search for Records as Children

Hi All,

There're hundreds of records and they are involved in a parent/children relationship as parents. Is it possible to search for the children of all the parent records?

Best Regards

Jerome

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 13, 2007 at 12:20 AM

    To my understanding, there is no direct method to achieve what you wish.

    You may use the following API to achieve the desired result.

    CatalogData.GetRelationships will give you all the relationship info defined for that repository.

    CatalogData.GetRelationshipMebership will return the MembershipFlag array. This returned parameter will give you the relationships the anchor record is part of.

    CatalogData.GetRelationshipRecords will give you the sibling members or the children, depending on the relationship type.

    Hope this helps

    Add comment
    10|10000 characters needed characters exceeded