How to add a drop down field in User Preferences widget in profile page of the ESC portal

Suheb Shaik
Tera Contributor

We have a requirement to add a Date Format field of the user table under the User Preferences widget in the profile page of the ESC portal, which should appear and behave like Language & Time Zone which are OOTB, I know we can add Date Format field from Service Portal view of user table, but we require to add it under Language & Time Zone.

Any pointers to fulfill this requirement is greatly appreciated, please refer to the screenshots attached for quick understanding.

 

Thanks & Regards,

Suheb

1 REPLY 1

Adonis Uchoa
Tera Contributor

Hi,

You need to go to the widget "Profile With Drop Down" and edit the Body HTML Template. Then, add the following code inside the <ul> element to include the new "Google" link:

 

 

 

 

      <li class="header-menu-item" role="presentation"><a tabindex="-1" ng-href="google.com" role="menuitem">google</a></li>

 

 

If it doesn’t work, I recommend copying the <li> from above and cloning the widget to avoid update errors.

 

AdonisUchoa_0-1737728723442.png