I am using lightning and I'm trying to create a custom button on a related list on the Account object.

My goal is:

  1. Add a custom button that says "New Customer Account"
  2. When the button is clicked, it should pass in a Record Type ID value and go to the new account record detail screen to avoid the user having to make a record type selection ideally.

I went into the "New Button or Link" area and chose "Content Source = URL", but I am not sure what to put in the box to achieve the above. What URL syntax would be needed to do the above?

1 Answer 1


I would suggest you calling a flow from its URL with parameters and the redirect parameter so that you can accomplish this and much more if needed.


You must log in to answer this question.

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