You need to sign in to do that
Don't have an account?
Pardhu Thottempudi
Failed to save mycontactlist.cmp: Invalid definition for null:mycontactlistcontroller: null: Source
They showing pop_up like FIELD INTEGRITY EXCEPTION
Failed to save mycontactlist.cmp: Invalid definition for null:mycontactlistcontroller: null: Source.
when i trying so many same error coming in trailhead quick start:create a lightning component. kindly resolve the issue ASAP
Failed to save mycontactlist.cmp: Invalid definition for null:mycontactlistcontroller: null: Source.
when i trying so many same error coming in trailhead quick start:create a lightning component. kindly resolve the issue ASAP
public class MyContactListController {
@AuraEnabled
public static List<Contact> getContacts(Id recordId) {
return [SELECT Id, FirstName, LastName, Email, Phone FROM Contact WHERE AccountId = :recordId];
}
}
Once saved, you should then be able to save your component.