I'm still having trouble dealing with the binaryField_filename _fileSize, etc fields required for datasourceFields having type='binary'.
The short version is this: If I just declare my (sql) datasource autoDerived='false', add the metadata columns to my table but leave them out of the datasource definition, magic happens and things 'just work' on my listGrids / upload forms.
I need to insert records into that table by means other than through the UI. With the metadata fields undefined on the datasource, I'm not able to set values for them. If I define them explicitly, I can set values, but then my listGrid doesn't show filename or viewFile icons...
So what's the trick to having it both ways?
The short version is this: If I just declare my (sql) datasource autoDerived='false', add the metadata columns to my table but leave them out of the datasource definition, magic happens and things 'just work' on my listGrids / upload forms.
I need to insert records into that table by means other than through the UI. With the metadata fields undefined on the datasource, I'm not able to set values for them. If I define them explicitly, I can set values, but then my listGrid doesn't show filename or viewFile icons...
So what's the trick to having it both ways?
Comment