07-17-2019, 11:35 PM
Hi Simon,
The current libraries available do no support uploading a blob to a hyperblob key, this can only be done through LCM at the moment. The good news is the next libraries being released already support this. Once the new libraries are released, you can upload a blob to a hyperblob key as follows:
local tPath, tInputA, tRecordID
put "/Users/efrain/Desktop/IMG_1804.JPG" into tPath
put "Grand Canyon" into tInputA["name"]
put tPath into tInputA["image"] --this is my hyperblob key
put cdb_create(tInputA, "testTable", "cloud") into tRecordID
The current libraries available do no support uploading a blob to a hyperblob key, this can only be done through LCM at the moment. The good news is the next libraries being released already support this. Once the new libraries are released, you can upload a blob to a hyperblob key as follows:
local tPath, tInputA, tRecordID
put "/Users/efrain/Desktop/IMG_1804.JPG" into tPath
put "Grand Canyon" into tInputA["name"]
put tPath into tInputA["image"] --this is my hyperblob key
put cdb_create(tInputA, "testTable", "cloud") into tRecordID