Issue- Want to customize scoreboard for a user in which he can see only incidents(only view rights), no other tabs in scoreboard would be visible for user
CA SD-12.5 version
Deepak, scoreboards are either role based or personal so depending on your need you'll have to customize either the role's or the user's scoreboard. If the user is the only one needing this view you'll be better off creating a custom scoreboard for them alone, in other cases you'll want to adjust the scoreboard for the role they use. If it is the same role as used by others who must not have the same scoreboard then you have to create a new role.
Customizing the scoreboard for the role is pretty straightforward, you just log in with administrative powers and modify the scoreboard through the form. For a single user it's more tricky, you'll have to impersonate them one way or another or do the modifications to a text file and use pdm_load to push the changes for the single contact.
For impersonation you can build on the sample code under $NX_ROOT/samples/sdk/websvc/java/test1_pki/, you'll only need to add the call to the impersonate WS method and you're good to go.
Easy solution is to create a 'View' data-partition with the following constraint on the Call_Req table
type <> '\R\'
Still other tabs like Problems and Requests etc is also showing .... Kindly also suggest, contact type and access type filed should be empty ..or else.
1. Contact Type- Analyst
2. Access Type- Spectator
3. Data-Partition- View1.. which you have suggested above.
Attaching screen shot for reference..
Unfortunately your solution still leaves the problem tickets visible, but you're headed in the right direction. Also no constraints are in effect for change orders, if those are used.
So for incidents only you'll need a DP view constraint like this
type = 'I'
Sorry, forgot to add that after impersonating you get a BOPSID for the contact you impersonated and you can then use it to log in as them. Not sure if you know the password for the contact you need to impersonate but if you do then a normal login as them might be the easiest solution.
Thanks for your valuable support...
Retrieving data ...