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
siva krishna 61siva krishna 61 

Opportunity have three buttons like edit, delete, clone. here i want add new button which is redirected to account page how to write code for this requirement

Hello Folks,

Opportunity have three buttons like edit, delete, clone. here i want add new button which is redirected to account page how to write code for this requirement
GauravGargGauravGarg
Hi Siva,

Please create one detail page button of type URL (setup --> Opportunity --> Button ,links and Action ), with below code:

/{!Opportunity.AccountId }

Hope this helps !!!

Thanks,
Gaurav
Skype: gaurav62990

 
siva krishna 61siva krishna 61
hi Gaurav sir i already wrote this query but still it will not redirecting. create one detail page button of type URL (setup --> Opportunity --> Button ,links and Action ), with below code: /{!Opportunity.AccountId } regards siva
GauravGargGauravGarg
Please share the button screen shot.