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

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.