[SOLVED 2/2/24 10:48 AM EDT] Javascript on webviewer

I have created this html page
https://www.tecnofuego.cl/encoder.html

to use the following javascript

I try to get an sql query encoded, so I put the URL on the Web_viewer component, but all I get as a response is “undefined”

I’m guessing you hosted the file as a local asset?

No at the beggining.
But now I’ve uploaded the file on the app assets, and referenced the webviewer url simply to “encoder.html”… sadly, It didn’t solve the problem.

Nevermind, I just create a manual function to replace all the special characters to match the URI encode.

1 Like