Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- createRecord(event ){
- let newContact = {FirstName : 'Pikachu' ,LastName : 'Raichu'};
- createMyContact({con : newContact}).then((resp)=>{
- this.recordId = resp.Id; //this will auto call wireMethod/
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement