Articles in this section
Category / Section

How to hide the profile, notification and help icons | Bold BI Embedded Analytics Server

Published:

We can hide the below highlighted items under profile section, notification and help icons in the tenant site of Bold BI Embedded Analytics Server through the configuration file. These settings will be applicable only when using the site identifier in the BI tenant site. 

rte_image_58.png

Steps to hide using the configuration file

  1. Login with UMS admin user.

  2. Go to UMS Configuration Settings page and choose custom_ui.json in the Search your files drop-down

    URL: {domain_name}/ums/administration/config-editor

    img1.png

  3. Obtain the site identifier of the BI tenant site from the Site URL say example, in the URL http://localhost/bi/site/site1, site1 is the site identifier.
  4. If we need to configure for specific BI tenant sites, then provide those site identifiers as list in the Sites -> Name node or if same settings need to apply for all the BI tenant site, then we can provide "*" which is the wildcard for all the tenant sites instead of the providing each individual site identifiers list as shown below,
    img3.pngApply for specific tenants 
    Apply same settings for all the tenant sites
  5. Then provide the profile name to know which profile settings needs to apply for the tenant site, since we can apply different settings for different tenant sites in the Profiles -> Name and Sites -> Profile nodes. For more details, please refer to the section which contains sample configurations.
  6. Refer to the table below to hide the corresponding menus or icons.

Node nameScreenshot
Notification
Notification -> ShowMenu


Once set false icon will be hidden as below,img3.png
Help


Help -> ShowMenu


Once set false icon will be hidden as below,img4.png
Profile


Profile -> ShowMenu


Once set false icon will be hidden as below,img5.png
Your Sites sub menu
Profile -> ShowYourSites
Once set false sub section will be hidden as below,
img6.png
Manage Sites sub menu
Profile -> ShowManageSites
Once set false sub section will be hidden as below,
img7.png
My Profile sub menu
Profile -> ShowMyProfile
Once set false sub section will be hidden as below,img8.png
Logout sub menu
Profile -> ShowLogout
Once set false sub section will be hidden as below,
img9.png
Note: In order to hide other sub menus (Your Sites, manage Sites, My Profile or Logout) under the Profile menu, the node Profile -> ShowMenu should be set to true and respective sub menu should be set to false.
  • Once configured the above settings, save the configuration file by clicking the save button.


Sample Configuration for specific tenant

"Sites": [
    {
      "Name": ["site1"],
      "Profile": "profile1"
    },
    {
      "Name": ["site2"],
      "Profile": "profile2"
    }
],
“Profiles”: [
    {
   "Name": "profile1",


   "Notifications": {
            "ShowMenu": false
     },
    "Help": {
           "ShowMenu": false
     },
     "Profile": {
           "ShowMenu": false,
           "ShowYourSites": false,
           "ShowManageSite": false,
           "ShowMyProfile": false,
           "ShowLogout": false
      }
  },
 {
   "Name": "profile2",

   "Notifications": {
            "ShowMenu": true
     },
    "Help": {
           "ShowMenu": true
     },
     "Profile": {
           "ShowMenu": true,
           "ShowYourSites": true,
           "ShowManageSite": false,
           "ShowMyProfile": false,
           "ShowLogout": false
      }
  }
]

Sample Configuration for all tenants

"Sites": [
    {
      "Name": ["*"],
      "Profile": "profile_name"
    }
],
“Profiles”: [
    {
   "Name": "profile_name",
   
   "Notifications": {
            "ShowMenu": false
     },
    "Help": {
           "ShowMenu": false
     },
     "Profile": {
           "ShowMenu": false,
           "ShowYourSites": false,
           "ShowManageSite": false,
           "ShowMyProfile": false,
           "ShowLogout": false
      }
  }
]

Sample Configuration for specific tenant override wildcard

If there is a case where you are applying settings for all tenants using the wildcard key, but you need to apply the different settings for specific or some tenants, then you can separately define those settings for that specific tenant as shown below. Here, it will prioritize specific settings only.
"Sites": [
    {
      "Name": ["site1", "site2"],
      "Profile": "profile1"
    },
    {
      "Name": ["*"],
      "Profile": "profile2"
    }
],
“Profiles”: [
    {
   "Name": "profile1",

   "Notifications": {
            "ShowMenu": false
     },
    "Help": {
           "ShowMenu": false
     },
     "Profile": {
           "ShowMenu": false,
           "ShowYourSites": false,
           "ShowManageSite": false,
           "ShowMyProfile": false,
           "ShowLogout": false
      }
  },
 {
   "Name": "profile2",

   "Notifications": {
            "ShowMenu": true
     },
    "Help": {
           "ShowMenu": true
     },
     "Profile": {
           "ShowMenu": true,
           "ShowYourSites": true,
           "ShowManageSite": false,
           "ShowMyProfile": false,
           "ShowLogout": false
      }
  }
]


Reference

For more details about custom_ui configuration for other settings, please refer below link,

User interface customization in Bold BI embedded analytics

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
AA
Written by Amrutha Asokan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied