You need to sign in to do that
Don't have an account?
mukesh gupta
Object Id e.force:createRecord
Hi Expert,
I am creating contact by 'e.force:createRecord', but now i want to created contact record Id. after this event.
Can you please suggest.
Regards
Mukesh
I am creating contact by 'e.force:createRecord', but now i want to created contact record Id. after this event.
Can you please suggest.
Regards
Mukesh
We cannot get record id after creating record using force:createRecord.If you want recordId after creating then you have to go for custom lightning component with a form to create record.
Please refer below link which has similar query
https://salesforce.stackexchange.com/questions/206021/forcecreaterecord-to-get-the-record-id-and-a-call-back/206260
Hope this helps you
Let me know if this helps you. Kindly mark it as solved so that it may help others in future.
Thanks and Regards
I have gone through your problem.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Sachin Arora