Today I am experimenting with the IOM API in order to get a better feel for how it works. The task I am trying to accomplish is to add a new assigned solicitor to a constituent. I'm placing the code in the BeforeConstituentSave Sub, but I think I must be missing something because I can't seem to find an "Add" Method on the CAssignedSolicitors2 object. There appears to be one on the deprecated CAssignedSolicitors object though. How do I go about adding an item to the CAssignedSolicitors2 Collection without an "Add" method? Any help would be much appreciated.
Thanks! :)
1 Comment
J
Jeffrey Montgomery
said
over 6 years ago
Hi Scott, perhaps do this (link below) after the constituent save?
Scott Denney
Hi there,
Today I am experimenting with the IOM API in order to get a better feel for how it works. The task I am trying to accomplish is to add a new assigned solicitor to a constituent. I'm placing the code in the BeforeConstituentSave Sub, but I think I must be missing something because I can't seem to find an "Add" Method on the CAssignedSolicitors2 object. There appears to be one on the deprecated CAssignedSolicitors object though. How do I go about adding an item to the CAssignedSolicitors2 Collection without an "Add" method? Any help would be much appreciated.
Thanks! :)