My custom button behaves differently from the standard new button. It does work but it just bypasses the record type selection.

How do I make it behave like the standard one where the user needs to select the record type 1st before going to the record creation.

Here is my custom buttom syntax


1 Answer 1


In my dev org looking at the record type selection screen I see the following in my browser URL:


The record edit page (post record type selection) displays the following URL in my browser:


If you know what record type you're looking to create ahead of time you could include the RecordType parameter in you JS Button code along with the corresponding Record Type ID.

If you're looking to still have this the record type selection available to the user then it looks like you would first need to direct users to the /recordtypeselect.jsp with the corresponding parameters, and then forward users to object edit page.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .