You need to sign in to do that
Don't have an account?
Patrick Hanahan
Apex Trigger sync.contact error
Hi I am having trouble with adding a contact into salesforce. the Below error is what I have been getting. Also, Trigger does not show up under contacts under customize.
Review all error messages below to correct your data.
Apex trigger sync.contactTrigger caused an unexpected exception, contact your administrator: sync.contactTrigger: execution of AfterInsert caused by: line 8, column 9: trigger body is invalid and failed recompilation: Dependent class is invalid and needs recompilation: sync.asyncapex: line 24, column 28: sObject type 'Lead' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
Review all error messages below to correct your data.
Apex trigger sync.contactTrigger caused an unexpected exception, contact your administrator: sync.contactTrigger: execution of AfterInsert caused by: line 8, column 9: trigger body is invalid and failed recompilation: Dependent class is invalid and needs recompilation: sync.asyncapex: line 24, column 28: sObject type 'Lead' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
thanks,
http://www.forcexplore.com/2014/08/visualforce-and-apex-tutorial-for-beginners.html