I have an Aura component which wraps a couple of LWCs, which overrides 'New' Button of the listview. (From: Getting RecordTypeId selected from 'Record Type Selection' Page, in a lightning component that overrides create screen)
I am wondering if there is any possible way to get the RecordType's Name by its Id, WITHOUT running a SOQL query.
I figured out that I can query it on the backside but it'd be the last thing that I'd want to do.
doInit: function(component) {
var recordTypeId = component.get("v.pageReference").state.recordTypeId;
component.set("v.recordTypeId", recordTypeId);
}
// then I pass recordTypeId to LWC which simply displays it.