- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2012 03:53 AM
Hi guys,
My objective is to add "Add me" icon (used with the field "watch_list") next to the field "Assigned To".
I try to understand how the UI Macro "lightweight_glide_list" works but I'm not aware with Jelly script 😞
This UI Macro must include the "can_write" function to avoid unexpected updates (e.g. avoid update on read-only field).
Do you have an idea to create an UI Macro "Add me" that can be added on sys_user reference field ?
I hope you can help me 🙂
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2012 08:14 AM
This is a good idea. I just wrote an article this morning showing how you can do this. Let me know how it works!
http://www.servicenowguru.com/system-ui/ui-macros/add-me-ui-macro-user-group-fields/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2019 01:51 PM
Hi, is there a way to use this for a list field? I have used the code from your post and it only works on a standard reference field. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2012 01:54 AM
Hi,
>Once you've created the macro you need to invoke it on your user field by adding the 'ref_contributions=add_me' attribute to the dictionary of the user field.
about invoking the functionality, I have added attribute: ref_contributions=add_me in sys_user - collection. Is there anything else I should do to because I cannot see the new icon?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2012 04:31 AM
You don't add the attribute to the sys_user collection. You add it to the dictionary attribute of the user field you're working with (assigned_to, caller_id, etc.).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2012 05:23 AM
Thanks,
task - "assigned_to" did the trick.