You need to sign in to do that
Don't have an account?
chikku
Lightning Web Component - Navigation - View option is not working
I have created Navigation to achieve the related list in Subtab in lwc it throws an error while clicking the Navigation. I Have updated the code This was an error my facing it while clicking the view navigation.
const actions = [ { label: 'View', name: 'view' }, { label: 'Edit', name: 'edit' }, ]; const columns = [ { label: 'Sort Code', fieldName: 'Sort_Code__c' }, {label:'Account Number', fieldName:'Account_Number__c'}, { type: 'action', typeAttributes: { rowActions: actions }, }, ]; }, handleRowActions( event ) { const actionName = event.detail.action.name; const row = event.detail.row; switch ( actionName ) { case 'view': this[NavigationMixin.Navigate]({ type: 'standard__recordPage', attributes: { recordId: row.Id, actionName: 'view' } }); break; case 'edit': this[NavigationMixin.Navigate]({ type: 'standard__recordPage', attributes: { recordId: row.Id, objectApiName: 'Bank_Account__c', actionName: 'edit' } }); break; default: } }
org.auraframework.impl.controller.AuraClientException: [NoErrorObjectAvailable] Script error.
And found many users reported this issue.
To get the exact answer Ii would request you to raise a case with the Salesforce support team So that our team will look further in server logs and assist you.
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Regards,
Salesforce Support.