How can I enable "My Notification Preferences" from the Service Portal?

andypollino
Mega Expert

Hi guys,

Previously I had the "notifications_preferences,do" page framed in an iframe on a Service Portal page. I've recently upgraded to Istanbul, and now when I click the button, the updated notifications system attempts to redirect users to the Native UI. This is useless in the service portal.

I have been unable to find any code in the UI Page definition that indicates that a redirect is happening.

Can you help me restore the functionality of editing notification preferences from the service portal?

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

Check if below thread helps



Notification preferences on Service Portal?



Please mark this response as correct or helpful if it assisted you with your question.

That would be helpful, but my initial post has an error in it:



I recently upgraded to Jakarta, not Istanbul. The solution proposed there broke in Jakarta


Dominik Simunek
Tera Guru

Try to set system property "glide.notification.preference.ui.enabled" to false. As of Jakarta, Notification Preferences are shown in System Settings and that is the reason I believe why it stoped working for you. If you set the property to false, you won't see Notification Preference in System Settings anymore but still using the older UI Page (url notification_preference.do) and so it should be working as before.

Jared Spears1
Giga Contributor

In the header of your portal, you can add the following highlighted lines, replacing 'esc' with the URL Suffix of your portal:

<ul class="dropdown-menu">
<li class="header-menu-item"><a href="{{data.link}}">${Profile}</a>
</li>
<li class="header-menu-item"><a href="/esc?id=actsub_notif_pref&sysparm_domain_restore=false&sysparm_stack=no">${Notification Settings}</a>
</li>
<li class="header-menu-item"><a href="{{::portal.logoutUrl}}">${Logout}</a>
</li>
</ul>