+ Start a Discussion
Ankit Khiwansara 10Ankit Khiwansara 10 

How to populate value in Contact.photoURL

How to populate value in Contact.photoURL  

While executing below code, getting below error 

contact c = new contact (id = '0030o00002cWalwAAC');
c.photoURL = '/servlet/servlet.FileDownload?file=0150o00000HDM4s';
update c;    

Field is not writeable: Contact.PhotoUrl.

Could you please help me to execute below error.
Sfdc CoupleSfdc Couple
Hi Ankit,

That field is not writeable.