Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { NavigationMixin } from 'lightning/navigation';
- navigateToCorpconEdit(row) {
- let { linkName } = row;
- let recordid = linkName.substr(1);
- this[NavigationMixin.Navigate]({
- type: 'standard__recordPage',
- attributes: {
- recordId: recordid,
- objectApiName: 'npe5__Affiliation__c',
- actionName: 'edit'
- },
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement