Hi,
I have the following problem, on which I can't seem to find an answer...
I have a CRM 4.0 system and I want to achieve the following:
When I have a contact/account that's inactive to remove it from another list, for example the Marketing list.
So I already have everything, up to the removing part. I have a collection with the inactive accounts/contacts (The ID's(GUID)), I just need to remove somehow the member from the list. So there is a class RemoveMemberListRequest which looks like the correct one, the only problem is, somehow I can't get it to work.
foreach (Guid currentMember in inactiveMembers)
{
RemoveMemberListRequest req = new RemoveMemberListRequest();
req.ListId = context.PrimaryEntityId;
req.EntityId = currentMember ;
RemoveMemberListResponse rmlResp = (RemoveMemberListResponse)crmService.Execute(req);
}
When It tries to Execute, the request it fails, with very generic error, that it was unable to execute the request. I am also not sure if that's the correct way of doing it...
There is another class that seems to have a property that might be useful:
QualifyMemberListRequest
With property: OverrideorRemove
But I don't really understand how this one works, and I couldn't find enough information.
Anybody?