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
Vinar AmrutiaVinar Amrutia 

Record update using a custom button - javascript code

Hi All,

I am trying to update a status field using custom button. The code works perfectly well when I try it as administrator. I have a community enabled and when I try to log in with a community user, it give me this error

 A problem with the OnClick JavaScript for this button or link was encountered:
{faultcode:'UNKNOWN_EXCEPTION', faultstring:'UNKNOWN_EXCEPTION: Site under construction', }


Has anybody encountered something like this before?
Community user has access to edit the record and all the field level access necessary to edit the field.