Saving a URL as a favorite

dianeramos
Tera Contributor

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

3 REPLIES 3

palmen
Tera Guru

You can't make a favorite to the Jira URL, but what you can do is to create a module in desired Application and have it link to jira.
After that users can set this module as a favorite.

djohnson1
Mega Guru

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: 

 

  1. 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.
  2. Scroll down to the Modules related list and click New.
  3. If the Window name field is not displayed, configure the form and add this field.
  4. Select URL (from Arguments) from the Link type list.
  5. Add the complete web address to the Arguments field.
  6. Select an icon for the module in the Image field.
  7. 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

dianeramos
Tera Contributor

Thank you both sooo much!