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
Mary Pamishetty 3Mary Pamishetty 3 


How can use custom button with javascript on visual force page.
I've used below code but I'm getting 'URL No Longer Exists  <apex:commandbutton value=" Process" action="{!URLFOR($Action.Lead.Begin__Process,}"/>
Mary Pamishetty 3Mary Pamishetty 3
I used this : <apex:commandbutton value=" Process" action="{!URLFOR($Action.Lead.Begin__Process,id)}"/>
Now I'm getting below error , even though I'm admin
Insufficient Privileges
You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see Insufficient Privileges Errors.