01-14-2011 03:31 PM
I'm trying to add a contact to an existing contact list. In my case, I want to add the MyRecord to a contact list (Act.Framework.Contacts.ContactList) that already exists. Any ideas on how to do this?
Thank you in advance.
01-15-2011 06:33 AM
01-17-2011 06:17 AM
The LookupManager class has methods for appending to and removing from an existing lookup. In this case we'll want to use the LookupContactsAppend method.
01-17-2011 12:22 PM
The Lookup manager does me no good.
This is what I do:
1- Retrieve a contacts list for a group
2- If the MyRecord is not part of this list, add it to the list.
As far as I know, only the contact list object is returned by the group manager.
Do you have any way to do this?
01-17-2011 12:41 PM
There are no methods for appending or adding to a contact list like to a lookup, also if you have any plans to display this contact list you'll likely want to create a lookup anyway rather than just displaying a list of contacts, as doing the latter will prevent you from storing the lookup and as such won't be able to navigate 'back' and 'forward' to it.
01-17-2011 12:49 PM
So there is no way to dynamically change a contact list like adding or subtracting contacts. That is a pretty major lack of functionality in such a widely used object.
I'd suggest you add it to future releases.