runquerywithparams working sample

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

runquerywithparams working sample

Post by swiftinitpvtltd »

I have a form with 3 tabs, when user clicks on 3rd tab on load I want to execute query with param(sending current user email address(ThisUser.EmailAddress mentioned in query parameter on right to query's myCode field) and show user a grid. I tried based on usersample but its not working. The query takes one attribute from User object.
On render its executing the js code but not displaying anything in third tab. I also tried button click and its working partially without any parameters. Does anyone have working sample BSV with runquerywithparams ?

runquerywithparams

In guide its mentioned as below-
runQueryWithParams
(queryName, params,
renderOption)
AwareApp.runQueryWith
Params (‘My query’,
params, ‘main’)
Run the query that
requires user input.
Provide the input values
entered by the user in the
params hashtable hashed by
query parameter name
Post Reply