Is it possible to control the display of the portal's logo/title according to the user's role?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 06:13 PM
We would like to change the visibility of the CSM Portal depending on the user. However, we want the URL to be the same for all users.
Is it possible to control the display of the CSM Portal logo/title according to the role of the user?
logo・・・ServiceNow
title・・・カスタマーサポート
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 09:58 PM
Hi,
It is possible to show different logo and title without creating multiple portals
1. Navigate to System UI -> Images
Upload logo for each role
2. Create a new system property to map logo and title for each role
Name - portal.logo.title.mapping
Description - JSON Key - logo, title
JSON Value - image name uploaded in step 1 and title
Value -
{
"admin" : {
"logo":"logo1.svg",
"title":"Admin CSM"
},
"itil":{
"logo":"logo2.png",
"title":"ITIL CSM"
}
}
3. Navigate to Service Portal -> Portals and Open CSM portal Theme
Clone the out of the box header widget and update it to the theme
4. Open the cloned header widget
HTML - update the highlighted lines
5. Add below lines to the server script
Also refer - https://www.servicenow.com/community/csm-forum/how-to-control-the-display-of-the-portal-header-logo-...