Create new User then immediately create new Player and link to this new User object

I create a new User, then I immediately create a new Player and I want to link the Player to this User. I can’t seem to find this answer anywhere.

This seemed right, but it doesn’t set the User link…

It’s probably much more complicated than above. Can someone help me out?

Thank you! :slight_smile:


Hi Mark,

The Save Object in Backendless block does not create relations, it can save only primitive properties of an object. However, the Deep Save block does exactly what you want. The Deep Save documentation is here.


Thanks for that link. Just tried this (following) but User link is not happening…

Don’t you want to link to the user you registered? The UserId argument is irrelevant in that context. Here’s the general structure for your service’s method:
Codeless - BL - ConsoleDemo - Backendless 2021-10-30 13-53-33

Hope this helps.


1 Like

Boom! This works as expected. Thank you Mark!!!