[SalesForce] Update Contact Object Using Guest Site User

As Salesforce suggested
These guest user site profiles are associated to guest user licenses which give the ability to only read/create on standard objects and not update.

Is there any workaround to update Contact standard object from Salesforce Site?

Best Answer

A solution to this problem is to create a custom object with fields that map to fields on the standard object to be updated and give permission to the guest user to update this new object type. Include a reference to the standard object from this 'shadow' object to form a link between the custom and standard records. Create an insert/update trigger on both the custom and standard objects to keep the 2 in-sync so that when the custom is updated it updates the standard record to match.

Related Topic