Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Outbound E-mail Profile API: Get list of e-mailaddresses

I'm working on a Java console application that needs to go through all the e-mailaddresses in the frontend database in Tridion Outbound E-mail 2011 and change a certain extended field of that contact.

I've gone through the Subscription API documentation for clues on how to get a listing of all the e-mailaddresses, but I'm getting stuck there. Is there any clean way to do this through the API, without resorting to database queries?

like image 663
Kah Tang Avatar asked Aug 21 '12 07:08

Kah Tang


1 Answers

It is not possible to get a list of Contacts using the Subscription API. It is meant primarily for working with single Contacts, who update their profile on your website.

For bulk management of Contacts, you should use Tridion.AudienceManagement.API on your Content Management server instead. The changes will then be synchronized to all of your websites.

You should not change anything directly in the database, as you will get issues with synchronization.

like image 102
Peter Kjaer Avatar answered Oct 05 '22 11:10

Peter Kjaer