+ Start a Discussion
Raja Bipin Chandra  M BRaja Bipin Chandra M B 

Enable command button for Profile having Read only access to objects

Hello Gurus,

I am trying to create Actions on Account object substituting with a Visualforce Page.  In the Visualforce page, i am trying to insert a record on Event object as my objective is to insert new event from Salesforce 1 App from Account object being standard controller.However, the "Save" button from Visual force page is not enabled for profiles who has only READ access to accounts.

Is there a way we can get over from this ? Can we try something using <apex:input type="button" />  Please suggest. 

Thanks,
Raja
Best Answer chosen by Raja Bipin Chandra M B
Raja Bipin Chandra  M BRaja Bipin Chandra M B
Got the solution, created another visualforce page with custom controller and passed the parameters from existing VF page to the redirected page. And, invoked the method using actionfunction with the help of Window.Onload event.