0

I need to put a keyword filter on my contacts list. I am using Audience Manager API. Is there any way to do the same.

4
  • Can you elaborate a little? What are you trying to achieve exactly? – Quirijn Mar 14 '14 at 14:02
  • I am using Audience Manager.API for getting the contact list from an address book. I got the list but I need some selective contacts who are tagged with one of the keyword. – user918 Mar 17 '14 at 12:43
  • Keywords have a 'WhereUsed' feature. If you select the keyword in Tridion and then WhereUsed, do you see your contacts? If so, you could do the same via the API and then maybe also filter on the ItemType = keyword. – robrtc Mar 17 '14 at 13:28
  • @robrtc - I don't think where used applies to contacts (maybe as they are stored in a different DB). You can even delete a keyword that is linked to contacts without errors or warnings. – Will Price Mar 17 '14 at 14:31
5

Check out the Tridion.AudienceManagement.API.ContactFilter class. This has a Keywords property you can use to filter a list of contacts from an address book.

1
  • 1
    Listen to this man :) – Peter Kjaer Mar 17 '14 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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