Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Karel Jutte
27
Views
7
Comments
Decode and display an url encoded input parameter
Question
We built a new Outsystems app that is being called from another webpage with url encoded input parameters.
I want to display the content of the parameters on screen, but the value should be unescaped first and I don't know how to do it.
When calling the application we use a hidden form to pass a CustomerName (from a non Outsystems application)
.
Suppose the customer is called "John Doe (the first)", then the value from I see in the parameter is "John+Doe+%28the+first%29"
And I want the Outsystems webpage to read "Welcome John Doe (the first)" and not "Welcome John+Doe+%28the+first%29"
Does anyone know how to overcome this?
João Rosado
Staff
Hi Karel,
Easiest way is to create a extension with a method that calls HttpUtility.UrlDecode(string)
Anyway, if you are reading that value in a InputParameter of a OutSystems screen, then It should have been already decoded automatically.
Make sure you are not encoding 2 times the string (so that it's getting to the InputParameter double encoded).
Regards,
João Rosado
Kees Buren
Hi Joao,
Can you tell me where I can find the HttpUtility.URLDecode?
Regards Kees
Ruben Goncalves
Hi,
Just added this functionality to
this component
!
Cheers,
RG
Loki
Hi, getting this error while publish this extension..
"I
nvalid Extension Implementation -
Unable to find the assembly file 'outsystems.noshtmlutils.jar' in the extension."
Running Platform 8.0.0.8
Ruben Goncalves
Hi Lokendar,
Are you trying to publish the extension in a Java infrastructure?
Cheers,
RG
Loki
Yes.. i do...
Ruben Goncalves
Unfortunately, I have not yet created the Java version for that component...
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...