[AC-5761] ArrowDB ACS_file relation does not work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2018-06-30T12:54:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | ArrowDB |
Labels | n/a |
Reporter | Emmanuel Francis |
Assignee | Shak Hossain |
Created | 2018-06-06T11:11:48.000+0000 |
Updated | 2018-06-30T12:54:29.000+0000 |
Description
Below is my sample code:
Cloud.Objects.create({
classname: 'sample',
fields:{
"[ACS_file]file_ids":["5b17bfda503c1e3ab9015454"]
}
}, function (e) {
Ti.API.error("Issue response ",e);
});
Error:
{
code = 400;
error = 1;
message = "Invalid ACS type: file";
success = 0;
}
I am trying to create a custom class with files reference as a field. But it gives error.
Hello, Can you follow the guide here https://docs.appcelerator.com/arrowdb/latest/#!/api/CustomObjects-method-create ? There is no ACS file fields mentioned. Please post a query in the community https://community.axway.com/s/ for coding support. Thanks.