You need to sign in to do that
Don't have an account?
Nichole Smith
Custom Button that Runs as a System Administrator
We have a use case were we need to have a custom button that would clone a custom object and all of its related records. I have created the button and it works great as the system administrator because that profile has access to the fields but when I log in as one of the other users I get an error because they dont have access to the fields. For security reasons we dont want to give them access to the fields but we want them to be able to clone the existing record. So what we would need is to have this button run as a system administrator. Is that possible?
All Answers
Clone works only if that field is visible on form. So, all your fields in clone url should also be available on form. Having said that, you can set FLS for those profile to read and write but make make those fields read only on pagelayout, that way you are not compromising with design. Clone is not going to work if they do not have field accessibilty.