hey guys, correct me if am wrong in backendless we have separate section for our files (byte array , img , png ,zip etc ) and for records (in data section ) so how can we add a column in our data section for uploading file there, if its now how it works than how can we connect a record object (record which is inside Data Section) to a file (which is in file section ) ??? i want to link a file with an record and my record is in data section and file is in file section , and for linking them i want to use the ObjectId of record
Hi Billion,
Currently the way to do it would require:
- Upload your file using [url=https://backendless.com/documentation/files/android/files_file_upload.htm]File Upload API[/url]. The result of the file upload is the URL of the file
Store the url of the file received in (1) as a property in a data object. It would be a string property.
Regards,
Mark
Also, I should note that we’re working on adding support for a special “File” data type in the Data Service. That will simplify the approach I just described.
it’ll will be great
yeah after reading some other same question like mine i tried what you just suggested me and its working thanks a lot