I want to add password reset option on service portal

Community Alums
Not applicable

Hi There,

 

I want to add Password reset option on service portal under profile widget, In below image in place of yellow mark have to add, which will navigate user to specific link. how to achieve this?

find_real_file.png

5 REPLIES 5

Prasad Pagar
Mega Sage

Hi @Tejas

Please check this docs for your help. I think it will give answer to your query

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/login/task/use-pwd-reset-in-service-portal.html

https://community.servicenow.com/community?id=community_question&sys_id=573cdea6dbfaf3045129a851ca9619e4

https://community.servicenow.com/community?id=community_question&sys_id=4afccd60db952b80b2102926ca9619c9

Thank you
Prasad

palanikumar
Mega Sage

Hi,

This is available in the headers. If your are using OOB Service Portal then name of this header is "Stock Header". You need to add this line after line 33

<li ng-if="::!(isViewNative || isViewNativeTablet)" role="presentation"><a tabindex="-1" href="<url for password reset>" role="menuitem">Password Reset</a></li>

Please note that OOB header is read only. To edit this, follow the below steps

1) Open your portal from Service Portal > Portal
2) Open the related record Theme from the portal
3) Open Header related record from the Theme
4) Clone the theme and add the above line mentioned
5) Update Theme with the new header

Adding the previous lines so that it is easy for you to search

<ul class="dropdown-menu" role="menu" aria-label="{{::data.profileBtnMsg}}">
<li role="presentation"><a tabindex="-1" ng-href="?id=user_profile&sys_id={{::user.sys_id}}" role="menuitem">${Profile}</a></li>
<li ng-if="::!(isViewNative || isViewNativeTablet)" role="presentation"><a tabindex="-1" href="{{::portal.logoutUrl}}" role="menuitem">${Logout}</a></li>
<li ng-if="::!(isViewNative || isViewNativeTablet)" role="presentation"><a tabindex="-1" href="<url for password reset>" role="menuitem">Password Reset</a></li>
</ul>

Thank you,
Palani

Community Alums
Not applicable

Hi Palani,

 

Which theme to select

find_real_file.png

Suggest you to go to Service Portal > Portal and open your portal. You can find a reference field named theme. Open theme record from there

Thank you,

Palani

Thank you,
Palani