You need to sign in to do that
Don't have an account?
YSP
Updating a field as a user other than logged in user.
If I have an object in Salesforce that a profile currently does not have any access to however I want to add a button which updates a field on a record in that object is that possible?
Can there be any customization which can allow the update to happen as a user which does have access to the object or even as an admin or is giving access to the object the only option?
Can there be any customization which can allow the update to happen as a user which does have access to the object or even as an admin or is giving access to the object the only option?
You will not be able to update any field on the object record to which the profile does not have access to.
It can be done if the user does not have access to the record but has access to the Object.
Hence, Object access is necessary. If Object access is there but record access is not give, and still you want to update the record then you can make your ape class as without sharing. I think this should work in that case.
Thanks,
Umesh Rathi
All Answers
You will not be able to update any field on the object record to which the profile does not have access to.
It can be done if the user does not have access to the record but has access to the Object.
Hence, Object access is necessary. If Object access is there but record access is not give, and still you want to update the record then you can make your ape class as without sharing. I think this should work in that case.
Thanks,
Umesh Rathi