You need to sign in to do that
Don't have an account?

How to update FULLPHOTOURL and SMALLPHOTOURL on USER
I have a requirement to scrub a users photo when they leave the company. Unfortunately, both of the fields that hold the photo are read only, and i get error "Field is not writeable" from APEX code when i refer to them.
Also - i cannot clear them manually using APEX data loader as they do not appear in the field listing for the USER object.
So - i cannot update these either programatically nor manually using dataloader.
Does anyone know of a way i can do this? Users without a photo have a value in the url path of 005 which is what i want to update these to for leavers.
Also - i cannot clear them manually using APEX data loader as they do not appear in the field listing for the USER object.
So - i cannot update these either programatically nor manually using dataloader.
Does anyone know of a way i can do this? Users without a photo have a value in the url path of 005 which is what i want to update these to for leavers.
I think your profile don't have access on those fields that's why you are facing this issue.
-Thanks
Ashlekh Gera
Hi,
Can you update the field from readonly to editable? under the field level secuirty after that you can update the fields value manully ore using apex
but if you cannot do so then you will not be able to update that field value.
please let me know if you have any issue and if you solved your issue then please maked it as solved