function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

No write access for guest users on object CampaignMember?


Hi all,


I am currently trying to set up a site/vp page/apex class that updates certain CampaignMember records - without any prior login, so for "guest users". So far all I get is the apex error message "INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id:" when doing the actual update (CampaignMember) call.

I guess this means I have to grant write access rights for user "guest" on the CampaignMember object. Now, I don't seem to find this in the users setup at all. "Campaign" is there, but no "CampaignMember".


Any idea how to have this done? TIA!