- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2016 06:55 AM
Hi-
Is there a way to copy over bookmarks from one user's profile to another? I've looked but haven't found a way to do so, and I'm not sure if this is possible.
Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2016 06:59 AM
Option 1: Copy them manually by going to sys_ui_bookmark.list, filter for the user and bookmarks you want, open each, replace the user name, right click the form header and select "Insert".
Option 2: Write a script to filter and copy them. This is a bit more involved and a knowledge of JavaScript and the GlideRecord API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 07:30 AM
This is the simple script I like to use
var targetUserId = '';
var sourceUserId = '';
var groupMap = {};
copyGroups(sourceUserId, targetUserId)
copyFavourites(sourceUserId, targetUserId);
function copyGroups(source, target) {
var gr = new GlideRecord('sys_ui_bookmark_group');
gr.addQuery('user', source);
gr.query();
while (gr.next()) {
gr.setValue('user', target);
groupMap[gr.getUniqueValue()] = gr.insert();
}
}
function copyFavourites(sourceUserID, targetUserID) {
var gr = new GlideRecord('sys_ui_bookmark');
gr.addQuery('user', sourceUserID);
gr.query();
while (gr.next()) {
gr.setValue('user', targetUserID);
gr.setValue('group', groupMap[gr.getValue('group')]);
gr.insert();
}
}