Skip to content

User Relationship Assigned to Created Item #11340

Answered by melohagan
perezstudio asked this question in Help
Discussion options

You must be logged in to vote

Hey @perezstudio

This binding Users.Campaign._id won't work. This is because relationships are always stored in an array (even if there is only one relationship).

You could try instead Users.Campaign.0._id which would get the _id of the first campaign relationship, although I don't recommend this because you can't guarantee the order of the relationships if there's more than one.

These may be useful:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@perezstudio
Comment options

Answer selected by perezstudio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bb-relationships Relating to table relationships
2 participants