+ Start a Discussion
Shohrat MuhamovShohrat Muhamov 

Visualforce button that has a write access


I have created visualforce page button with standard Lead controller and custom extension controller. I am trying to populate a field on lead record that are not owned by running user. Salesforce returns insufficient privileges error when i try to use that button as a regular user. My extension class is in System mode and I have given the edit access on profile. But I am still getting same error message. Can anyone help me with it please?
Britto Fernandez 2Britto Fernandez 2
Could you please share debug log, keeping log level at finest. Thanks.
Shohrat MuhamovShohrat Muhamov
There is no log generated, I ony get below error message. 

Thank you,

User-added image