Missing CMS-UI dashboard widgets in user profile.

  • KM03803802
  • 15-Apr-2021
  • 15-Apr-2021

Summary

Check the users account and make sure that the users account is associated with a user role and permissions.

Question

Missing CMS-UI dashboard widgets in user profile.

Answer

The possible causes could be the following;

User deleted all the OOTB widgets.

The users profile in UCMDB has no role associated with the profile directly or through groups.

To Check to see if the widgets are configured to be there, Access the jmx console, and go to: 

Mbean: UCMDB:service=URM Services. Method: listResources[java.lang.Integer|java.lang.String]

Open: UI_DASHBOARD_SETTINGS

Open the user account profile in question.

 A normal out of the box profile with dashboard widgets will look something like this.

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xmlUIDashboardSetting>
    <userID>admin###UCMDB</userID>
    <content>&lt;![CDATA[{"id":null,"username":"admin","hideOOTBSetting":false,"tilesCount":null,"maxSizeColumns":null,"maxSizeRows":null,"items":[{"id":"servers by os","name":"Servers by OS","widgetName":null,"description":"Displays the computers that are servers (node role contains \"server\"),  grouped by the DiscoveredOsName attribute.","tags":"report","columnLocation":0,"rowLocation":0,"width":4,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Servers by OS","userGroup":null,"chartType":"barChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"services","name":"Services","widgetName":null,"description":"Displays the Services grouped by child CI Type.","tags":"report","columnLocation":4,"rowLocation":0,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Services","userGroup":null,"chartType":"pieChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"storage devices","name":"Storage Devices","widgetName":null,"description":"Displays the storage devices grouped by the device type.","tags":"report","columnLocation":0,"rowLocation":1,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Storage Devices","userGroup":null,"chartType":"barChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"network structure","name":"Network Structure","widgetName":null,"description":"Displays the Network Entities grouped by child CI.","tags":"report","columnLocation":2,"rowLocation":1,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Network Structure","userGroup":null,"chartType":"donutChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"virtual machines","name":"Virtual Machines","widgetName":null,"description":"","tags":"report","columnLocation":4,"rowLocation":1,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Virtual Machines","userGroup":null,"chartType":"barChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"network devices","name":"Network Devices","widgetName":null,"description":"Displays the network devices grouped by the device type.","tags":"report","columnLocation":0,"rowLocation":2,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Network Devices","userGroup":null,"chartType":"pieChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"databases by type","name":"Databases by Type","widgetName":null,"description":"Displays all the Databases grouped by child CI Type.","tags":"report","columnLocation":2,"rowLocation":2,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Databases by Type","userGroup":null,"chartType":"barChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"workstations by os","name":"Workstations by OS","widgetName":null,"description":"Displays the computers that are not servers (node role does not contain \"server\"), grouped by the DiscoveredOsName attribute.","tags":"report","columnLocation":4,"rowLocation":2,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Workstations by OS","userGroup":null,"chartType":"donutChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"aws cloud","name":"AWS Cloud","widgetName":null,"description":"Displays the AWS ec2 instances.","tags":"report","columnLocation":0,"rowLocation":3,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=AWS Cloud","userGroup":null,"chartType":"barChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"running software","name":"Running Software","widgetName":null,"description":"Displays all the Running Software grouped by child CI.","tags":"report","columnLocation":2,"rowLocation":3,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Running Software","userGroup":null,"chartType":"pieChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"installed software","name":"Installed Software","widgetName":null,"description":"Displays all the Installed Software grouped by Display Label on InstalledSoftware.","tags":"report","columnLocation":4,"rowLocation":3,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"URL","content":"#tab=reports;report=Installed Software","userGroup":null,"chartType":"barChart","colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false},{"id":"integration_point_all_jobs","name":"All Integration Jobs","widgetName":null,"description":"Displays the current status of all integration jobs in all integration points.","tags":"integration_point_all_jobs","columnLocation":0,"rowLocation":4,"width":2,"height":1,"visible":true,"enabled":true,"minHeight":1,"minWidth":2,"contentType":"","content":"","userGroup":null,"chartType":null,"colorScheme":null,"summaryMode":false,"ootbtile":true,"complianceView":false,"report":false}]}]]&gt;</content>
</xmlUIDashboardSetting>
 
 
If the profile does not show the widgets listed, then you know you have a bad profile.
 
Resolution:
Check the users account and make sure that the users account is associated with a user role and permissions. If not, please add. If that does not work, next recommendation would be to recreate the account again fresh.  Also make sure if the user account is ldap, check to make sure the account is created correctly in ldap and the permissions are the same as the other accounts like that one has the same settings.