出站电子邮件配置文件 API:获取电子邮件地址列表 [英] Outbound E-mail Profile API: Get list of e-mailaddresses
问题描述
我正在开发一个 Java 控制台应用程序,该应用程序需要遍历 Tridion Outbound E-mail 2011 前端数据库中的所有电子邮件地址,并更改该联系人的某个扩展字段.
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.
我已经阅读了订阅 API 文档以获取有关如何获取所有电子邮件地址列表的线索,但我一直卡在那里.有没有什么干净的方法可以通过 API 做到这一点,而无需求助于数据库查询?
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?
推荐答案
无法使用订阅 API 获取联系人列表.它主要用于处理单个联系人,他们会在您的网站上更新他们的个人资料.
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.
对于联系人的批量管理,您应该改用内容管理服务器上的 Tridion.AudienceManagement.API.然后更改将同步到您的所有网站.
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.
这篇关于出站电子邮件配置文件 API:获取电子邮件地址列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!