provide a toggle between assigned to me and assigned to my groups

Jack62
Giga Guru

Evening all

 

We are trying to provide the ability to toggle between reports on the HR agent workspace to allow agents to toggle between the Assigned to me and assigned to my groups widgets to save space on the front page. Has anyone managed to provide this? We have a visual drop down showing (screenshot below) but can't see where we add in the functionality to switch? Once we manage to get this working it may be needed elsewhere as well. If anyone can provide a nudge in the right direction it would be appreciated.

 

Jack62_0-1703021750354.png

 

Thanks

 

Jack

 

 

3 REPLIES 3

Jack62
Giga Guru

Any thoughts on this requirement guy's?

 

Jack

amrithaanayak
ServiceNow Employee
ServiceNow Employee

Hi jack,

 

can you share details on where you are seeing these reports?

JulianLemcke
Kilo Sage

@Jack62 : I'm not a UIB developer, but can speak from past projects as the architect:

If I understand you correctly, you want to show two different lists depending on the user's selection. You can accomplish this with what you've created. 

You would need to "hide" it with the component visibility. I'm not sure if you can access other components directly in the data binding, or if your "toggle" would need to update a Client state and that you then can use the Component visibility to show & hide the different lists.

 

Hope that helps!

 

Cheers,

Julian