• #69426
    Salesforce | Deepak Deepak #6
    Forcetalks

     What does e.force:createRecord in var createContact = $A.get("e.force:createRecord"); do in Lightning Component in Salesforce?

    What does e.force:createRecord in var createContact = $A.get(“e.force:createRecord”); do in Lightning Component in Salesforce?

    #69428
     Marziya #9
    Forcetalks

    Hii Deepak,

    $A.get(“e.force:createRecord”) globally create contact field and display the record create page for an object, set the object name on the entityApiName attribute and fire the event. recordTypeId is optional and, if provided, specifies the record type for the created object. defaultFieldValues is optional and, if provided, specifies values to use to prepopulate the create record form.

     

Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?