Skip to content
Discussion options

You must be logged in to vote

I figured it out. It has to be a derivative-field with the type "Reference" and the following code:

  const objectDoc = await row.object_ref.get();
  return objectDoc.get('uid_user');

To get the field from a doc to which there is a reference in the current row is simply:

  const userDoc = await row.user_ref.get();
  return userDoc.get('email');

I was a bit confused by the "Intermediate example" here, but I actually have the reference in the field and not the id as in the example.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by webwurm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants