0

I tried component to open the new contact page. Complete reference code

var createAcountContactEvent = $A.get("e.force:createRecord");
createAcountContactEvent.setParams({
      "entityApiName": "lead",
      "defaultFieldValues": {
            'Phone' : '415-240-6590',
            'Mobile' : '001xxxxxxxxxxxxxxx'
       }
});
createAcountContactEvent.fire();

$A.get("e.force:createRecord") // Does not trigger page

I tried in softphone. How can i solve the issue?

and also i tried sforce.one.createRecord() its also doesn't work. one property doesn't available in sforce object.

0

Have you tried screenPop() for Lightning Experience.

Example:

sforce.opencti.screenPop({
     type: sforce.opencti.SCREENPOP_TYPE.*, //Review the arguments section.
     params: object //Depends on the SCREENPOP_TYPE. Review the arguments section.
} 
});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.