Saving a URL as a favorite

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 06:25 AM
Hi Everyone,
Can a URL be saved as a favorite on the navigator?
We have a requirement to add the JIRA site "www.jira.com" as a favorite?
Please advise
Thanks
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 06:54 AM
Dianeramos,
Below is a background script that will add a Jira bookmark for all users with the ITIL role:
var itilUsers = new GlideRecord('sys_user_has_role');
itilUsers.addQuery('role','282bf1fac6112285017366cb5f867469'); // itil role
itilUsers.setLimit(75); //limit to current fulfiller subscription set
itilUsers.query();
while (itilUsers.next()) {
createUserJiraBookmark(itilUsers.user.sys_id);
}
function createUserJiraBookmark {
var gr = new GlideRecord('sys_ui_bookmark');
gr.addQuery('user', user);
gr.addQuery('title','My Work');
gr.query();
if (!gr.next()) {
gr.user = user;
gr.title = 'JIRA';
gr.url = 'http://www.jira.com';
gr.window_name = '_blank';
gr.color = 'fuschia';
gr.icon = 'console';
gr.insert()
}
}
You can update the color and icon if needed.
Alternatively, you can create a module with the instructions below:
- Open the application menu record using one of the following methods.
- Navigate to System Definition > Application Menus and select the application menu from the list.
- Right-click the application label in the application navigator and select Edit Application. This is possible in UI15 and UI11 only.
- Scroll down to the Modules related list and click New.
- If the Window name field is not displayed, configure the form and add this field.
- Select URL (from Arguments) from the Link type list.
- Add the complete web address to the Arguments field.
- Select an icon for the module in the Image field.
- Enter _blank in the Window name field.
If this field is empty, the page opens in the content frame, which is the default behavior.
Thanks,
Derrick Johnson

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 07:05 AM
Thank you both sooo much!