
Hi!
I am developing Dynamics 365 Customer Portal for a client, and I have a requirement to change redirect webpage after logged in user changes password.
Current scenario:
Is it possible to change portal setting in a way, that upon successful password change, portal redirects user to specific webpage? I created custom landing page, and would like to redirect user to this webpage after changing password within customer portal.
Thank you!
Regards,
Tjaša
Hi, I understand you are being redirected to the profile web page with a confirmation message
you can redirect by adding a JS into your Profile Web Page (make sure it is the content page and not the root):
$(document).ready(function () {
var currentUrl = window.location.search;
if (currentUrl.includes("?Message=ChangePasswordSuccess"))
{
window.location.href = '{{ sitemarkers["Home"].url }}';
}
});