daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $A.get("e.force:createRecord")
  2.     .setParams({
  3.           "entityApiName": sObjectName,
  4.           "recordTypeId": result
  5. }).fire();
  6.      
  7. this[NavigationMixin.Navigate]({
  8.         type: 'standard__objectPage',
  9.         attributes: {
  10.             objectApiName: this.type,
  11.             actionName: 'new'
  12.         }
  13. });
  14.      
  15. this[NavigationMixin.Navigate]({
  16.         type: 'standard__objectPage',
  17.         attributes: {
  18.             objectApiName: this.type,
  19.             actionName: 'new'
  20.         },
  21.         state: {
  22.             nooverride: '1'
  23.         }
  24. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top