[SalesForce] open account new detail page on click of a button

Is it possible to open a account's new button detail page from a detail button on another object?

I know we can open a custom apex page through a detail button by putting in the url but can we open a standard page

Best Answer

Yes it is possible to open the account details page from a button. You may create a Detail page button and choose Behavior as URL and use the following code {!URLFOR( $Action.Account.New )}.

This will ask you to select a record type if you want to set the default record type of the user, you may use Execute Javascript in Behaviour and use the following code:


Please see this document for additional details.

Related Topic