Skip to content

Instantly share code, notes, and snippets.

@jyoung
Created March 15, 2018 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyoung/440cbbb5b41f2c26d31efe969df08f91 to your computer and use it in GitHub Desktop.
Save jyoung/440cbbb5b41f2c26d31efe969df08f91 to your computer and use it in GitHub Desktop.
LANSA Tour Of Heroes Copy URL Parameters
* copy known query parameters to the navigation parameters
for each(#lParameter) in(#SYS_WEB.URLParameters)
case of_field(#lParameter.Name.UpperCase)
when (= TRACE)
#mParameters<#lParameter.Name> := #lParameter.Value
when (= DEVELOPER)
#mParameters<#lParameter.Name> := #lParameter.Value
when (= DEBUG)
#mParameters<#lParameter.Name> := #lParameter.Value
endcase
endfor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment