How to hide Activities under "My item" widget if count is zero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago - last edited 3 weeks ago
Hi Team,
I have a requirement to hide the activities where count is zero in "My Items" widget available for esc.
if the activity is primary in "Activity Configuration " table, then the below code is working( checking the count in script and making it inactive). but if it's non primary it is not working.
Is there a way to make this activity configuration to be not available in widget if thee count is zero
Can someone please help me to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @Roshini ,
The count is controlled through the script include "ActivityConfigurationUtilSNC". For your scenario you may need to change in server script or client script filtered activities. You need to customize widget.
Refer this below post for any impacts and in future if you want to do for few more widgets.
My Active items widget - adding Change requests to Activity configurations and My Requests page
Thanks,
Bhimashankar H
-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!