In the following code what is passed to type key?
var pageRef = {
type: 'custom__recordPage', // What is type here?
attributes: {
actionName: 'view',
objectApiName: 'Inventory__c',
recordId : resp
}
};
Best Answer
It's the value for the page reference type. E.g., if you are navigating to a record page type, then your
type
value will bestandard__recordPage
.Below are the supported page types as listed in the documentation along with their type values.