You need to sign in to do that
Don't have an account?
ndrannapareddy
ExternalId
Hi ,
How can i Update a record from Apex using External Id .
Ex :
Account Object
Fields
ExternalId__c =123;//unique
name ='AccountName';
Not able to use Update
Account a = new Account ();
a.ExternalId =123;
a.name = 'EditedName';
Update a;
when i use this i am getting an Error saying to update Id field is required.
Any help will be appriciated .
How can i Update a record from Apex using External Id .
Ex :
Account Object
Fields
ExternalId__c =123;//unique
name ='AccountName';
Not able to use Update
Account a = new Account ();
a.ExternalId =123;
a.name = 'EditedName';
Update a;
when i use this i am getting an Error saying to update Id field is required.
Any help will be appriciated .
Regards,
Satish Kumar
My ExternalId Field is Unique.
I Already have that Record with ExternalId =123;