SmartClient V91d
I am using the restdatasource to connect with a custom backend server.
Currently this data is sent to the server on a fetch request
I would like to add a meta data property like tableName how can you do this?
I know how to add data to the dsRequest.data section in the transform request but not the metadata section.
Also the RestDataSource has a property for tableName or beanClass, ect which would be fine to use but even when setting these props they are not sent to the server. I tried setting server type to "sql" even though I am not using SmartClient Server just to force the tableName prop to be sent, but it wasn't.
Thanks,
Dan
I am using the restdatasource to connect with a custom backend server.
Currently this data is sent to the server on a fetch request
Code:
{
"dataSource":"Contact",
"operationType":"fetch",
"startRow":0,
"endRow":75,
"textMatchStyle":"substring",
"componentId":"contactsList",
"data":{
},
"oldValues":null
}
I know how to add data to the dsRequest.data section in the transform request but not the metadata section.
Also the RestDataSource has a property for tableName or beanClass, ect which would be fine to use but even when setting these props they are not sent to the server. I tried setting server type to "sql" even though I am not using SmartClient Server just to force the tableName prop to be sent, but it wasn't.
Thanks,
Dan
Comment