cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to run a query in VEV HTML application?

Former Member
0 Likes
254

Hello,

We are developing an HTML application using VEV sdks. Anybody knows how we can run a query saved in a .rhq file using on-click event in HTML?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

You call the executequery(string) JavaScript function. That means you need to have the text from the rhq file. You can ignore the comments there (// lines and text following // on any line).

If you you want to read the text literally from the file, you can do that in HTML5 with a method like this

How to open a local disk file with Javascript? - Stack Overflow

Most likely you will use fixed strings or compose them in JavaScript and then run them via the function call.

Former Member
0 Likes

Thanks Robert,

It worked! As you guessed it right we composed the querry in Javascript and run the function call.

Thanks once again for your help!

Regards,

Rupesh

Answers (0)