Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamically pass value dynamically in trestquest with tmysqlinput

i have facing problem in to get  data from database using trestrequest , txmlmap and tmysqlinput. my question is i m passing value in url like {doctorName} and that value which i have passing in url and it search in tmysqinput using of  like   please Find attachment 

 

This is SQL

 

"SELECT
`doctor_details`.`id`,
`doctor_details`.`doctorName`
FROM `doctor_details` where `doctor_details`.`doctorName` Like  " + globalMap.get("request.doctorName")

Labels (4)
24 Replies
fdenis
Master
Master

"SELECT
`doctor_details`.`id`,
`doctor_details`.`doctorName`
FROM `doctor_details` where `doctor_details`.`doctorName` Like '% " + globalMap.get("request.doctorName") +"%'"

Anonymous
Not applicable
Author

not work sill not search  


page-3.png
fdenis
Master
Master

try the query into a MySQL editor first.
Anonymous
Not applicable
Author

mysql editor working find and retrieve the relatively data.

 

Anonymous
Not applicable
Author

not working to dynamically to passing that parameter

fdenis
Master
Master

does it work without request.doctorName parameter?
fdenis
Master
Master

can you send a screenshot of your job?
Anonymous
Not applicable
Author

PFA for my job screen sort


page-1.png
page-2.png
page-3.png
page-4.png
fdenis
Master
Master

ok in your tmap:
for row1 click the tool.
in lookup Model select reload at each row.
in the new exp. line
click on +
add request.doctorName
in your sql query use globalMap.get("myKey")

is it Fine?