Dashboard Sharing

FrankKarluk
Tera Contributor

I currently have a unique issue I'm facing and would like some guidance if the resolution is even obtainable.

For our groups (sys_user_group) today we use a custom field called "Display Name (u_display_name)". This field is used for various reasons due to the infrastructure my company has. Our OOB "Name" field is used by a full AD Directory name. For example: RES_AD_ServiceNow. The Display name would then be "ServiceNow". In many of the areas in Production today, we have a script returning the "Display Name" value where ever Group(sys_user_group) is referenced today. However, we now have an issue where when we are trying to share a Dashboard to other teams and groups, the value does not show "Display Name" and only shows the "Name" which an be rather lengthy due to the value its populated with today. Our user do not know the full AD Group names and rely on the "Display Name" values heavily. Without changing our Group imports, we need the ability to update the API being used to query Group from the sys_user_group table to show "Display Name" values rather than "Name" values. Example screenshot below. Any and all help appreciated.

FrankKarluk_0-1742845376013.png

 



4 REPLIES 4

AshishKM
Kilo Patron
Kilo Patron

Hi @FrankKarluk , 

As the name field is being used every where internally for group reference, we can appy string substring method and remove the pre-fix part from group and use it in API.

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

GM Ashish, could you point me to the direction of where to apply this substring method to the API? That is more so my issue. I'm made aware this feature I'm looking into update is via an API setup existing. I can confirm it is a API when using the browser Network Console. I just cant seem to find the API its calling in the console. 

Brad Bowman
Kilo Patron
Kilo Patron

You could set the Display column on the sys_user_group table to u_display_name instead of name

BradBowman_0-1742847311409.png

This will show your custom field instead of Name on each Group record, below the word 'Group' and in all fields that are a reference to this table.

 

Hi Brad, this already has been done. This was part of the initial development effort for the new field variable.

FrankKarluk_0-1742909831937.png