Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $A.get("e.force:createRecord")
- .setParams({
- "entityApiName": sObjectName,
- "recordTypeId": result
- }).fire();
- this[NavigationMixin.Navigate]({
- type: 'standard__objectPage',
- attributes: {
- objectApiName: this.type,
- actionName: 'new'
- }
- });
- this[NavigationMixin.Navigate]({
- type: 'standard__objectPage',
- attributes: {
- objectApiName: this.type,
- actionName: 'new'
- },
- state: {
- nooverride: '1'
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement