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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Filter widget connected to jdbc mysql connection doesn´t work

horphi
3-Newcomer

Filter widget connected to jdbc mysql connection doesn´t work

Hello,

 

i want to use the filter widget within a mashup, to filter a GRID coming from JDBC MySQL connection?

Does this should work?

 

thwx_filterwidget.PNGthwx_mashup_filter_connection.PNGthwx_quuppa_service_GetAFKO.PNG

 

Many thx in advance,

 

Philipp

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:horphi)

The Widget produces a JSON which you then would have to convert into a proper SQL Filter

You can then use << >> (String vs. Parameter substitution) in an SQL query.

Do be aware that using << >> is considered String substitution and is vulnerable to sql injection.

Proper validation and permissions should be used.

View solution in original post

1 REPLY 1
PaiChung
22-Sapphire I
(To:horphi)

The Widget produces a JSON which you then would have to convert into a proper SQL Filter

You can then use << >> (String vs. Parameter substitution) in an SQL query.

Do be aware that using << >> is considered String substitution and is vulnerable to sql injection.

Proper validation and permissions should be used.

Announcements


Top Tags