You need to sign in to do that
Don't have an account?
CloudConversion
"Field is not writeable" Error on Custom Object in Sites?
We're getting "Field is not writeable" errors when we try to set field values via an ActionFunction on a custom object, where the Site has access to modify those fields.
Any idea why this might be happening and how to fix??
Thanks,
Jon
Ok, we found the issue! This particular object was "In Development". Once we deployed it, the fields were writable...
Thanks,
Jon
All Answers
Seems nothing to do with your field level permission but you are trying to modify a field which is not writable ,
like
you can not write createddate, lastmodifiedby, id, formula fields, master detail relationship , please check if the type of field is allowed to do updation ( writing another value)..
Thanks for the reply Shashikant. This actually works perfectly when logged in as the system administrator, so the field is definitely writable. It's just that when we try to write to the field from the Sites controller that we get the error. However, we have given full permissions to the Sites profile to read, create, edit and delete this custom object.
Any other ideas?
Thanks,
Jon
Ok, we found the issue! This particular object was "In Development". Once we deployed it, the fields were writable...
Thanks,
Jon