Thanks Dima, that was what I wasn’t properly understanding. Got it working now!
Here is what the parent form code block looks like:
Probably obvious to anyone who knows anything, but I just needed to pull the objectId value out of the object first to make it work. Relations now work perfectly.