Hi!I'm using the GetReactiveURL to create the URL of the detail screen.
When running it through a Timer, the domain changes to 127.0.0.1.
※ In reality, I want it to change to ossap.testusername.co.jp.
I want to know how to solve this situation.
I think that if '127.0.0.1' is replaced with 'ossap.testusername.co.jp', the domain will need to be stored using Site Property.
If there's a way to avoid storing the domain in the program, please guide me!
Hello,
If you want to get the domain URL at runtime you can use GetRequestDomain server action, which will return you the current environment Domain at runtime.
You need to add the dependencies from the the HTTPRequestHandler Module
You can also check this Post for reference -
I hope this will help you
Best RegardsTousif Khan
Hello @Tousif Khan,The information you shared is very helpful. Thank you very much!Best regards ,THOAN
Your welcome :)I am glad, I was able to help.RegardsTousif Khan
Hi @NGUYEN DUC THOAN .
Try to use the below component. I hope it suits your needs.
https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=11293&ProjectName=get-server-url-dynamically
Hi @Jerome Rajadurai J ,
Thank you, i will try the component you shared.