logo

NJP

Default Global Bookmark based on roles

Import · Jan 30, 2017 · article

Hello friends,

I got a requirement , i have to create default global bookmark based on roles , so when ever any new user logged in to instance , based on role default bookmark (favorite) will be created.

For this i created a custom table where i have created 3 fields

Label - type

Role - reference field --- sys_user_role (table)

URL - URL

Short_description (title) - string

Create record based on role in this table.

Now create a before business rule on sys_user table and check condition last login changes from empty to anything (first time login).

Check for the user roles and based on the role fetch record from above custom table and insert them into sys_ui_bookmark table.

Below i have attached update set that contain custom table and business rule.

I have created Default Favorites for ITIL and end users .

May this information will help you.

Please mark as helpful.

View original source

https://www.servicenow.com/community/now-platform-articles/default-global-bookmark-based-on-roles/ta-p/2327895