• Adrian Chiew
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2
 Duplicate alert

As shown in the image i need to get the possible duplicate records when i am inserting record from apex class or Api.

when i am executing from apex class with the following code
Account ll =  new lead();
ll.Name = 'Burlington Textiles Corp of America';
insert ll;

it showing error without possibilities like this
User-added image

Please help on this.
I'm following the example shown on Peter Knolle's post here: https://developer.salesforce.com/blogs/developer-relations/2015/03/lightning-component-framework-custom-events.html

When creating the contactSearch Component, I'm getting the following error:

"Failed to save undefined: No CONTROLLER named apex://mynamespace.ContactSearchController found: Source"

I'm not sure what I've missing - any thoughts?