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
AbAb 

override new button to choose the record type automatically

Hello,

I have a Quote related list on Opportunity.

I want to customize the entire related list.

Right now, it has newbutton and it displays certain quotes already present.

My use case:
the related list will always display the related list like before.

The new button will automatically redirect to one of record type based on the customfield on opportunity.

How can i implement this use case ?

thank you in advance