Hello,
I’m trying to set a relation from a users table to a file reference.
currently I save the file using Backendless.Files.saveFile( path, fileName, fileContent, overwrite )
I get the correct url back for the file
then I update the user:
const imageUrl = …
var user = {
objectId: objectId,
photo: imageUrl,
}
Backendless.Data.of( “Users” ).save( user )…
however this just adds the url to the users table but doesnt actually create a relation.
Is there any other way?
thanks