Hide [Update] [Delete] options that are displayed on an Image field on a form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2011 06:49 AM
I have added a reference field to an image from another table on a form. The image field (user image type) is displayed correctly however on the label for the field two link buttons are displayed [Update] & [Delete] to allow the user to modify or delete the selected image.
How can these link buttons be hidden or removed? I have tried UI Policies making the field Read-Only but that does not seem to work. I have also tried to find the id or name of the element to use a client script to hide these links, however the id for these elements appears to be a sys_id, but I cannot determine what is driving that sys_id to be able to predict it's value and script a way to hide it.
Thanks in advance for any help....

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2011 06:58 AM
Check your security settings (ACLs).
I did a quick test on sys_user.photo and found that it requires admin role to write to that field. If you don't have write permission (i.e. all you have is read-only), the Update and Delete links go away.
I would have thought your UI Policy would have done the trick, but without seeing it in detail, I cannot say. UI Policies are good for conditional form layout/behavior, but this sounds more like a job for straight forward security.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2011 07:19 AM
ACL's did it, thanks for you're help!