Skip to main content
Question

Jinja for User List field

  • August 31, 2021
  • 0 replies
  • 292 views

Forum|alt.badge.img+9
Hi,
I am building a pipeline to update a record that includes a User LIst field.  I will be updating this field with single user and wanted to use Jinja:

The "Help Text" below this field in the pipeline explains:
"Comma-separated list of QuickBase User IDs.  You can either assign same type list field or manually construct the comma-separated list using Jinja expression."

I am not finding an example of how to construct this list in Jinja.  Would appreciate help with the syntax.

Thanks so much

------------------------------
Christine White
------------------------------

Forum|alt.badge.img+5
  • Quickbase Alumni
  • November 21, 2023

Hi there,

I'm looking for help on this too. Did you ever find an answer?



------------------------------
Brittany Scheid
------------------------------

Forum|alt.badge.img
  • Quickbase Alumni
  • June 16, 2026

Two examples for how to update a list-user field for anyone who needs it: 


1. {{ a.userlist|map(attribute='email')|join('; ') }};{{a.last_modified_by.email}}

2. {{ a.userlist|map(attribute='email')|join('; ') + '; ' + a.last_modified_by.email }}


a.userlist is the list-user field where I want to add the user who last modified the record, while also retaining all users already in the list-user field.  I'm grabbing just the emails, the output should produce similar results as using the ToText([userlist]) formula.