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
srikanth123srikanth123 

unable to update task status

i have a site(force.com sites) which is basically a visualforce page where in i am updating the status field on the Task. When i am accessing the page as admin its working fine but when i open a new browser and type in the url(mycompany.force.com/....), i am unable to update the status field. any ideas?

ericszulcericszulc

Does the sites user have read/write access to the object and field?

srikanth123srikanth123

Yes, the sites user profile is having read/write access on the task status field. But isee that i cannot set the read/create permissions on the Task object. I mean the Task object is not being shown under the 'standard objects' permissions section.

ericszulcericszulc

Well... it doesn't seem like you shouldn't be able to access Tasks as a Sites user. It's a little baffling. What kind of error do you get specifically? 

 

Maybe double-check

 

  • Any apex class / visualforce page permissions
  • Record types and page layouts (especially if you are using <apex:detail>)