Skip to main content

Access issues - CMDB Dashboard

OK, so figured out the solution to below problem
as per https://docs.servicenow.com/bundle/istanbul-performance-analytics-and-reporting/page/use/dashboards/task/t_ControlAccessToADashboard.html

navigate to self-service>dashboards>edit the dashboard>click the cog>click modify. Note that both the 'restrict to roles' AND 'requires roles' seems to affect the access permissions

-------------------------------------------------------

User has the role itil / asset, but gets the following error when navigating to cmdb dashboard> CMDB View

but gets the following error:
"You do not have access to any dashboards. For more information, contact your system administrator."

when the fix suggested at https://hi.service-now.com/kb_view.do?sysparm_article=KB0639476
is applied, the error text changes to:
"Sorry! The CMDB Dashboard - CMDB View dashboard hasn't been shared with you"

the online documentation seems to suggest that itil or asset roles are all that is needed, and I have an example of another user with similar roles who does not get the error messages. I can't quite figure out where to configure the access

watch this space, ticket raised with ServiceNow to understand this better > actually closed this once I figured out the solution myself!

Comments

  1. clearly, It is an engaging article for us which you have provided here about Customer portal reports Jira This is a great resource to enhance knowledge about it. Thank you

    ReplyDelete
  2. I am impressed with your work and skills visit also cloud computing houston tx .

    ReplyDelete

Post a Comment

Popular posts from this blog

Get URL Parameter - server side script (portal or classic UI)

Classic UI : var sURL_editparam = gs . action . getGlideURI (). getMap (). get ( ' sysparm_aparameter ' ); if ( sURL_editparam == 'true' ) { gs . addInfoMessage ( 'parameter passed ); } Portal : var sURL_editparam = $sp . getParameter ( " sysparm_aparameter " ); if ( sURL_editparam == 'true' ) { gs . addInfoMessage ( 'parameter passed ); }

ServiceNow check for null or nil or empty (or not)

Haven't tested these all recently within global/local scopes, so feel free to have a play! option 1 use an encoded query embedded in the GlideRecord , e.g.  var grProf = new GlideRecord ( 'x_cls_clear_skye_i_profile' ); grProf . addQuery ( 'status=1^ owner=NULL ' ); grProf . query (); even better use the glideRecord  addNotNullQuery or addNullQuery option 2 JSUtil.nil / notNil (this might be the most powerful. See this link ) example: if ( current . operation () == 'insert' && JSUtil . notNil ( current . parent ) && ! current . work_effort . nil ())  option 3 there might be times when you need to get inside the GlideRecord and perform the check there, for example if the code goes down 2 optional routes depending on null / not null can use gs.nil : var grAppr = new GlideRecord ( 'sysapproval_approver' ); var grUser = new GlideRecord ( 'sys_user' ); if ( grUser . get ( 'sys_id' , current . approver )){