Remove a related link from portal profile options

Tony Minhas
Kilo Explorer

Hi, hoping for a quick solution....

We are using CAS authentication for all of users. We have a configured the system so that if a user as no role in servicenow, they will be taken directly to the portal. If they have any role, they will be presented with the platform/native views for servicenow to manage work.

We also have some servicenow accounts for some of our administrative staff with multi-factor authentication that are not authenticating via CAS.

Our users are seeing an option on the portal under My Profile that allows them to Configure Multi-Factor Authentication with Servicenow.  We would like to remove / hide this related link from the profile options since it is not applicable to our implementation as our CAS environment handles the two factor set up.

Any suggestions on how to accomplish this? 

thanks

5 REPLIES 5

Anil Lande
Kilo Patron

Hi,

Can you please share what exactly you want to hide? Screenshots would be more helpful.

 

Thanks,

Anil Lande

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Tony Minhas
Kilo Explorer

Hi Anil .. here is the link that is shown on the profile... tx

find_real_file.png

Hi,

Please check if it is custom widget or OOB widget.

If it is custom widget then check what then make link conditional by modifying HTML <div> element.

You can check user details in server script and create one data.canSeeLink variable and set value accordingly.

find_real_file.png

 

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

If it is OOB widget then you need to clone this widget and add custom widget on the form.

Make change on below part.

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/build/service-portal/task/t_CloneAn...

find_real_file.png

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande