(URGENT!) Add org chart and delegates option in user profile drop down in ESC portal

Vishwa Pandya19
Mega Sage

Hello,

 

We want to add below options in the user profile drop down in ESC portal:

1. My Org Chart -> this option should go to the OOB Org chart widget available on ESC

2. My Delegates -> in native UI if we go to our profile we can see delegates section and we are able to add new delegate. Same thing has to be replicated in the ESC Portal. 

 

We have scoured the internet for this but cannot find a way to add it under the user profile dropdown.

Please do help as it is a bit urgent.

 

Thank you!

 

PS: we do not want to use granular delegation plugin for delegates option.

1 ACCEPTED SOLUTION

Vishwa Pandya19
Mega Sage

Found the solution after hours of looking at the Employee center Header widget.

Found that the avatar dropdown is coming from profile-with-drop-down widget.
Updating solution here for future use.

 

Go to profile-with-drop-down widget.

Add below lines in the html code below the line tag of Profile option:

 

<li class="header-menu-item" role="presentation"><a tabindex="-1" ng-href="?id=my_org_chart" role="menuitem">${My Org Chart}</a></li>
<li class="header-menu-item" role="presentation"><a tabindex="-1" ng-href="/esc?table=sys_user_delegate&id=list" role="menuitem">${My Delegates}</a></li>

 

 

View solution in original post

9 REPLIES 9

Hey,

Thanks for your response.

Above link that you provided does not work for ESC portal as the stock header widget is not utilized by ESC.

Vishwa Pandya19
Mega Sage

Can someone please look into this? Need help urgently.

Thanks.

Community Alums
Not applicable

Modify this widget- profile-with-drop-down  which is embedded in ESC header