+ 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.