- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 03:59 AM
For users have in their profile they have auto added book marks are there when I make it un check pinned and auto added fields on those book marks still they have book marks, when I deleting in perticular users of bookmark record in bookmark table then only its removing profile,
1.how can I remove the existing book marks for all users
2.how can I add the some bookmarks for who are having resource roles
can any one help me on this query,
thanks & Regards
Harivas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 05:41 AM
Hi @harivas ,
You can use the script mentioned :
OR
You can refer to this article :https://www.servicenow.com/community/itsm-blog/associating-default-favourites-for-itil-users/ba-p/22...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 04:26 AM
Hello @Community Alums
Thanks for your response,
with out delete the book mark records we can't remove the favorites?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 05:29 AM
Hi @harivas ,
I checked if "unpinning" helps , but it's of no use, the favorite still sustains, so Deleting is the right approach :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 05:36 AM
Thankyou @Community Alums
How can add favorites for perticular users and we have a resource role table on that we have some roles, user who are have those roles I want to add the favorites to those users how can I do that I just glided that table where can I configure for this.
var grrole = new GlideRecord('resource_role');
grrole.query();
var roles = [];
while (grrole.next()) {
roles.push(grrole.role);
}
Thankyou!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 05:41 AM
Hi @harivas ,
You can use the script mentioned :
OR
You can refer to this article :https://www.servicenow.com/community/itsm-blog/associating-default-favourites-for-itil-users/ba-p/22...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 05:50 AM
Hi there,
While some half good answers have been given... they all mis a part of the bookmarks: the bookmark groups!
Only deleting the bookmarks, will leave you with empty bookmark groups. So do look at sys_ui_bookmark + sys_ui_bookmark_group
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field