03-06-2008 11:16 AM
03-06-2008 02:10 PM
06-20-2014 04:38 PM
Thank you for the code on this. However, lots of it is missing.
For example, the statement: Dim aAccessors() As Accessor
What is Accessor? I've looked all over the SDK for this but I can't find it.
It would sooo NICE if this type of code would be properly posted without the developers shortcuts which make extricating the proper code soo much more time consuming.
Again, which library is Accessor defined?
Does anyone have a working piece of code on how to set a contact's Accessor list as well as the Team Access?
06-23-2014 05:19 PM
Thank you. I ended up using Act.Framework.MutableEntities.Accessor and that worked for Contacts.
Do you know how to set the Contacts Accessors to be a Team? I've asked this question on this forum but the Swiftpage SDK support is ignoring it. Just a small piece of code would suffice.
Dim guidTeam As System.Guid
Dim tmAccessorTeam As Act.Framework.Teams.Team
guidTeam = New System.Guid(strTeamGUid)
Dim mTeam(0) As Act.Framework.Teams.Team
tmAccessorTeam = ACTFM.Teams.GetTeam(guidTeam) ' this works.
Now, the only piece to set accessors to a contact that I've see is
I've tried to put the Team into the MyAccessors parameter but it rejects it. I've also looked at the Team object with not luck.
So, PLEASE, does anyone know how to do this?
06-23-2014 05:35 PM
Yes, I did look at it. On the code, they define the accessors to be:
Accessor teams = ACTFM.Groups.GetAccessors()
Which is generic and sincerely, just does not make sense to me. Why would anyone set limited access where everyone is part of the list. I just want to make, say, Team1 the accessor of the Contact.
Any code on this?