You need to sign in to do that
Don't have an account?
alsinan nazim
Force:createRecord hitting error when fired from helper
Hello Everyone
I got an issue when firing the below event from Helper, and is working fine in controller in Lightning Component. Any hints?
I got an issue when firing the below event from Helper, and is working fine in controller in Lightning Component. Any hints?
var createRecordEvent = $A.get("e.force:createRecord"); createRecordEvent.setParams({ "entityApiName": "Account" // using account standard object for this sample }); createRecordEvent.fire();
I don't know exactly what you have done.
I will share sample code, Just try it.
CreateAccount.cmp : CreateAccountController.js CreateAccountHelper.js
If you use the force:createRecoad in . app ( standalone ) it wnt work ..