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
LeeCLeeC 

"New" button on Detailed Page

Hello,

 

I was wondering if it is possible to add a "New" button to the detailed page in "Accounts". If it is how would I go about adding this button?

 

Thanks,

 

Lee

Best Answer chosen by Admin (Salesforce Developers) 
b-Forceb-Force

It is very simple and straight forward,

We need to create a new button [with containt source as execute javascript ]

and add this page on account detail page.

Steps:

Go to Setup-->customize-->Account-->Button & Links

click on new button, select detail page button

content source will be execute javascript

 

script code

 

location.href='/001/e';

 

Save it,

 

Now add this button on your account Page layout.

 

Hope this will help you., If above solution work for you please mark as accepted and helps to community.

 

Thanks,

Bala

 

All Answers

b-Forceb-Force

It is very simple and straight forward,

We need to create a new button [with containt source as execute javascript ]

and add this page on account detail page.

Steps:

Go to Setup-->customize-->Account-->Button & Links

click on new button, select detail page button

content source will be execute javascript

 

script code

 

location.href='/001/e';

 

Save it,

 

Now add this button on your account Page layout.

 

Hope this will help you., If above solution work for you please mark as accepted and helps to community.

 

Thanks,

Bala

 

This was selected as the best answer
LeeCLeeC

Thanks, that worked great!