224
Views
7
Comments
Solved
Workaround on passing input parameter in RedirectToURL
Question
Application Type
Reactive
Service Studio Version
11.54.14 (Build 62552)
Platform Version
11.22.0 (Build 39859)


Hi! I'm having this warning when I'm passing an input parameter in RedirectToURL. I know this is not a best practice. What's the best workaround in this ? I can't reference or connect the screen in this module because it's a foundation module (_TH) and my target screen is a end user module, will be another bad practice. Thanks! 

2025-02-10 17-24-13
Arun Rajput
Solution

Hi @Ronald ,

As Tousif said you can use GetEntryURL() or if you want to remove the warning so create one local variable and assign your url in this variable and pass this local varibale to the external url.

For Ex- Local varibale Name- URL

URL ="https://"+GetRequestDomain.Domain+"/ORPAMS/JobApplication?JobPostingId="+JobPostingId

pass this URL variable to external url function.


Thanks,

Arun Rajput

2023-07-13 03-30-10
Ronaldd

Is the second option a good practice ?

2023-07-13 03-30-10
Ronaldd

will check it thanks!

2023-10-21 19-42-11
Tousif Khan
Champion

Hello

You can use the GetEntryURL() function from the HttpRequestHandler extension to get your URL and pass the parameters and then redirect through an ExternalSite for instance.

Also you can refer here -https://success.outsystems.com/documentation/11/reference/outsystems_apis/httprequesthandler_api/

Thanks & Regards

Tousif khan 

2023-07-13 03-30-10
Ronaldd

will check it thanks!

2025-02-10 17-24-13
Arun Rajput
Solution

Hi @Ronald ,

As Tousif said you can use GetEntryURL() or if you want to remove the warning so create one local variable and assign your url in this variable and pass this local varibale to the external url.

For Ex- Local varibale Name- URL

URL ="https://"+GetRequestDomain.Domain+"/ORPAMS/JobApplication?JobPostingId="+JobPostingId

pass this URL variable to external url function.


Thanks,

Arun Rajput

2023-07-13 03-30-10
Ronaldd

Is the second option a good practice ?

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