1. SmartClient Version: v8.2p_2012-05-17/Enterprise Deployment (built 2012-05-17)
2. Internet Explorer 7
3. Using XML datasource with SQL templating and customSQL
I have a multi selectItem that I want to use inside an IN clause in the datasource.
Datasource looks like:
Stacktrace shows output:
Dev Console DSRequest:
RPCRequest
How can I get it to generate:
'Z1C1BBAR', 'Z1S1FNJE' instead of '[Z1C1BBAR, Z1S1FNJE]'
2. Internet Explorer 7
3. Using XML datasource with SQL templating and customSQL
I have a multi selectItem that I want to use inside an IN clause in the datasource.
Datasource looks like:
Code:
#if ($criteria.PROJECT_DEF) and o.ori_project_def IN ($criteria.PROJECT_DEF) #end
Code:
and o.ori_project_def in ('[Z1C1BBAR, Z1S1FNJE]')
Code:
{ "dataSource":"rtnOrgStructure", "operationType":"fetch", "componentId":"isc_MPMScreen_0_reportGrid", "data":{ "BUYER_PATHCODE":"00001", "plant_pathcode":"0001", "entityId":"SG260", "PROJECT_DEF":[ "Z1C1BBAR", "Z1S1FNJE" ] }, "startRow":0, "endRow":75, "textMatchStyle":"exact", "resultSet":[ResultSet ID:isc_ResultSet_3 (created by: isc_MPMScreen_0_reportGrid)], "callback":{ "caller":[ResultSet ID:isc_ResultSet_3 (created by: isc_MPMScreen_0_reportGrid)], "methodName":"fetchRemoteDataReply" }, "willHandleError":true, "showPrompt":true, "prompt":"Finding records that match your criteria...", "oldValues":{ "BUYER_PATHCODE":"00001", "plant_pathcode":"0001", "entityId":"SG260", "PROJECT_DEF":[ "Z1C1BBAR", "Z1S1FNJE" ] }, "clientContext":{ "requestIndex":1 }, "requestId":"rtnOrgStructure$6279" }
Code:
{ "actionURL":"http://localhost:8888/msft/isomorphic/IDACall", "showPrompt":true, "prompt":"Finding records that match your criteria...", "transport":"xmlHttpRequest", "promptStyle":"cursor", "bypassCache":true, "data":{ "criteria":{ "BUYER_PATHCODE":"00001", "plant_pathcode":"0001", "entityId":"SG260", "PROJECT_DEF":[ "Z1C1BBAR", "Z1S1FNJE" ] }, "operationConfig":{ "dataSource":"rtnOrgStructure", "repo":null, "operationType":"fetch", "textMatchStyle":"exact" }, "startRow":0, "endRow":75, "componentId":"isc_MPMScreen_0_reportGrid", "appID":"builtinApplication", "operation":"rtnOrgStructure_fetch", "oldValues":{ "BUYER_PATHCODE":"00001", "plant_pathcode":"0001", "entityId":"SG260", "PROJECT_DEF":[ "Z1C1BBAR", "Z1S1FNJE" ] }, "streamResults":null, "exportToFilesystem":null, "exportToClient":null } }
'Z1C1BBAR', 'Z1S1FNJE' instead of '[Z1C1BBAR, Z1S1FNJE]'
Comment