case-insensitive-parameters
Reactive icon

Case Insensitive Parameters

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 14 Apr (23 hours ago)
 by 
5.0
 (1 rating)
case-insensitive-parameters

Case Insensitive Parameters

Details
When an OutSystems web application screen parameters are case-sensitive. If a browser receives a URL with incorrect casing, the input parameter is not recognized. For example: .../Screen/?UserId=123 works, but .../Screen/?userid=123 fails to receive the variable. This component addresses that issue.
Read more

OutSystems handles query parameters in a case sensitive way, this component presents two methods to force screens to handle parameters in a case insensitive way.

Method 1

Pros:

  • Acts faster as it only needs to reassign variable values

Cons:

  • Implementation has more steps
  • Needs to follow a specific pattern
  • Needs value type conversion on the assign step

Method 2

Pros:

  • Very simple to implement, only one action needed on the OnInitialize
  • No type inferring needed

Cons:

  • When incorrect parameters are found it acts by performing a redirect, and as such is a bit slower than method 1

Note: Neither of these methods have a performance impact when all parameters of the URL are correct.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category