When a datasource defines a field of type 'binary' and the datasource is applied to a ListGrid instance, as the user starts editing a cell relating to the field, a button with ellipsis is automatically placed into the cell which allows the user to select a file - this is great!
However, in my IDACall extended class I am unable so far to get access to the byte stream that should be available via DSRequest.getUploadedFile() as this function returns null.
I have read all the information in the Uploading Files section (SmartClient_Reference.html#group..upload) but there doesn't seem anything which answers the problem I am currently experiencing.
[I notice on the server side whilst debugging that the requestData element of the DSRequest instance contains only the filename (no fully specified path) to the file that was originally selected and additionally that the ISCHttpServletRequest instance as part of RequestContext for the DSRequest has an empty fileItemParts array; I'm including this info in case it is of use.]
Could you give me some pointer to help me solve this problem please?
However, in my IDACall extended class I am unable so far to get access to the byte stream that should be available via DSRequest.getUploadedFile() as this function returns null.
I have read all the information in the Uploading Files section (SmartClient_Reference.html#group..upload) but there doesn't seem anything which answers the problem I am currently experiencing.
[I notice on the server side whilst debugging that the requestData element of the DSRequest instance contains only the filename (no fully specified path) to the file that was originally selected and additionally that the ISCHttpServletRequest instance as part of RequestContext for the DSRequest has an empty fileItemParts array; I'm including this info in case it is of use.]
Could you give me some pointer to help me solve this problem please?
Comment