M
makumar
Guest
Hi Nikhil, As you have mentioned, you will be able to access the server side objects using the Client-Side API's There are set of Client-Side API's that will help you to perform these actions. I would suggest you to refer the below documentation url related to these API's: documentation.progress.com/.../index.html For the API that runs as SQL SELECT query on the server, you can use rbf_selectQuery(). This function runs a SQL SELECT query on the server and returns results to a callback function. Syntax rbf_selectQuery(query, maxRows, callback) Example The following example reads two fields from record defined by template token {!id}: function my_callback(values) { var amount = values[0][0]; var price = values[0][1]; // Do something... } rbf_selectQuery("select amount, price from order where id={!id}", 1, my_callback); Hope this helps. Regards, Mani.
Continue reading...
Continue reading...