Skip to main content
You can use SuperOffice.Services and SuperOffice.Services.Impl DLLs to list all selected interests for a specific contact.

Code

Walk-through

Using the ContactAgent, we first retrieve a Contact entity. Next is to retrieve the available interests of the contact. We use the Interests property of the entity and retrieve the interest list into a SelectableMDOListItem array. By iterating on the array, we can retrieve details of each interest available. Since we want only the selected interest, we add an if-condition to filter out any item that is not selected. Comparing the Interest tab of the Company card in the SuperOffice and our obtained output we can confirm our results.