Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Any alternate for GlideStringUtil.urlEncode(value)?

HarshTimes
Kilo Sage

Is there any alternate for GlideStringUtil.urlEncode(value)? This is not working in scoped application

3 REPLIES 3

Chuck Tomasi
Tera Patron

JavaScript has one built in.



You might find this helpful.



JavaScript encodeURIComponent() Function


Hi Chuck,



I am facing a similar issue after upgrading to Jakarta and we are using the GlideStringUtil.urlEncode(value) block. But the Javascript api is not working either. upon investigation we found that amp%3B string is getting amended in the URL twice. Can you redirect us to a direction where we can find a solution?


See my response on your other thread.