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
mreganmregan 

Skip Record Type in Lightning Component

Is it possible to skip the Record Type selection screen if I hardcode the Record Type ID and just open the Case Layout?

 
Raj VakatiRaj Vakati
Repro
1. Object Manager>Case >Buttons, Links, Actions. 
2. Click to edit the New button for an Object. 
3. Select Lightning Component Bundle and mark "Skip Record Type Selection Page" true. 
 
Then it will skiling 


 
Raj VakatiRaj Vakati
https://success.salesforce.com/issues_view?id=a1p3A0000018AqwQAE

https://success.salesforce.com/ideaView?id=0873A000000PYnwQAG

https://success.salesforce.com/issues_view?id=a1p3A0000018AqwQAE
mreganmregan
I was looking to create a New Case button on the Opportunity Page, so I wouldn't be able to overwrite the standard New Case button with the component. It looks like you only get the "Skip record type selection" option on the standard New buttons and not custom buttons.

Then, I created a New Case Quick Action on the Opportunity and selecting the Record Type I want, but I need it to redirect back to the Case in edit mode after its saved and not the Opportunity page.