89
Views
5
Comments
Solved
Change the RedirectToUrl value when sending an email
Question

Hi,

I have an application consiste of two module,

AppUi module.

AppUi_Core module.

I have configured to send the email, when I recient an email I click on the button to reset password, the redirecturl is sent to: https://personal-xxx.outsystemscloud.com/AppUi_Core/ResetPassword?UserId=0

instead of https://personal-xxx.outsystemscloud.com/AppUi/ResetPassword?UserId=0 

How can I resolve this proble pleaese?

2026-02-26 06-29-24
Rahul
 
MVP
Solution

Add a site property (URL) in this module   and set your URL value like 

https://personal-xxx.outsystemscloud.com/AppUi

 and bind it before the screen name.

Like - 

Site.URL+"/ResetPassword?UserId="+UserId


Hope this will help.

2024-01-18 12-42-28
Bogdan Boglea

Hey,


You are getting the Base URL of the module, which in your case is AppUi_Core. I suggest creating a Site Property that holds the value of your redirect URL and in this way it can be configured per environment as well.


Regards,

Bogdan

UserImage.jpg
you asen

supose I have a site property, where I need to mention it to put the right url

2026-02-26 06-29-24
Rahul
 
MVP

Hi ,

It's easy to take one input parameter as URL in Email Widget and use this input as a link.

And where you are using these email widget by server action pass the Proper URL by Site property so you can update environment wise from service centre.


Hope this will help you.

UserImage.jpg
you asen

thanks for your reply,

but the problem I dont know where  https://personal-xxx.outsystemscloud.com/AppUi_Core come from, I tried to add :

but it is added at the last..but I have no idea where I can override this one :

https://personal-xxx.outsystemscloud.com/AppUi_Core 

2026-02-26 06-29-24
Rahul
 
MVP
Solution

Add a site property (URL) in this module   and set your URL value like 

https://personal-xxx.outsystemscloud.com/AppUi

 and bind it before the screen name.

Like - 

Site.URL+"/ResetPassword?UserId="+UserId


Hope this will help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.