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
StenEStenE 

Getting Insufficient Privileges in VF with extensions

HI All,

 

I'm stuck. I've created an VF Page which uses the standard Lead controller and an extension class.

On the VF Page i created several command button which uses actions from the standard lead controller (Save and cancel). Whenever i use this buttons i get an Insufficient Privileges. i cannot see why this is happening and i should not have any privilige problems as i'm working as an administrator. 

 

Have any one an idea?

 

Thanks,
Sten

Best Answer chosen by Admin (Salesforce Developers) 
StenEStenE

THe solution is putting the class and VF page on the same version of the SF API. 

All Answers

kiranmutturukiranmutturu

add the class to the respective profile 

StenEStenE

These are all enabled for the profile i'm using. 

StenEStenE

THe solution is putting the class and VF page on the same version of the SF API. 

This was selected as the best answer