Skip to main content
You can list all selected interests for a specific contact using the ContactInterestHelper class. You can achieve the same with the PersonInterestHelper class. The helper classes provide the functionality that combines the MDO lists and what to select (they combine entity sub-collections with MDO lists).

Code

Walk-through

In the code above, once we have created an instance of the Contact entity by using the Contact class, we use the contact’s InterestHelper to retrieve the selected interests. As shown above, we can retrieve the interest in 2 ways:
  • using the SelectHeadingItems property
  • using the SelectRootItems property