how can i clone and configure employee center header widget

getnet bantie
Tera Contributor

i want to display my records in my requests menu item and assigned tasks in my tasks menu item.

8 REPLIES 8

Community Alums
Not applicable

Hi @getnet bantie ,

The OOB My Requests that appears in the EC header menu should show all of the task records (e.g., Incident, Change, HR Case, RITM) opened for the logged in user without the need of a custom menu item.  The scripts on this ("Requests") in Activity Configuration read your defined task types setup in Service Catalog > My Request Filter.  

You can configure what appears there from the Service Catalog > My Request Filter module. You can add any task type that is missing and the conditions, if needed.

How can I add 'My approvals' menu item in the employee center header ?

Community Alums
Not applicable

Hi @getnet bantie ,

1. Type sp_ng_template.LIST in the left nevigation bar.

2.Open the template named "menuTemplate".

3.Copy and paste the below Template there

<a ng-if="item.items.length == 0 && !item.scriptedItems" ng-href="{{item.href}}">{{ item.label }}</a>

 

<a ng-if="item.items.length > 0" href="javascript&colon;void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ item.label }} <span class="caret"></span></a>

 

<ul ng-if="item.items.length > 0" class="dropdown-menu" role="menu">

 

      <li ng-repeat="item in item.items" ng-include="'menuTemplate'" />

 

</ul>

 

<a   ng-if="item.scriptedItems.count >= 0" href="javascript&colon;void(0)" data-toggle="dropdown" title="{{item.hint}}">

 

  <span ng-bind-html="item.label"></span>

 

      <span ng-if="!item.scriptedItems.omitBadge" class="label label-as-badge label-primary sp-navbar-badge-count">{{item.scriptedItems.count}}</span>

 

</a>

 

<sp-dropdown-tree ng-if="item.scriptedItems.count > 0" items="item.scriptedItems.items" />

I tried but it's not reflecting in ESC portal