Selection Users Dropdown List (specific user)

Hello everyone,

I'm aiming to establish two dropdown lists within my form
one to exhibit Tech users and another for Sales users. This will be accomplished by utilizing data from the user manager table and segregating users based on their role. Specifically, when a user's role is identified as 'sales,' they should appear in the sales dropdown.
Likewise, the second type in the second list

AbdullaNsour_0-1700828512698.png

How can I achieve this using expressions, and what specific column types should be assigned to 'Technical' and 'Sales'?

thank you

 

Solved Solved
0 3 410
2 ACCEPTED SOLUTIONS

https://support.google.com/appsheet/answer/10107321?hl=en&ref_topic=10102053&sjid=156879277931134899...

You can select an appropriate list of users to be displayed in each of the fields by setting a proper constraint based on the role in the SELECT statement.

View solution in original post

Aurelien
Google Developer Expert
Google Developer Expert

The expression to use in the first one will be:

 

FILTER("USER",[Role]="Tech")

 

The second one will be:

 

FILTER("USER",[Role]="Sales")

 

 For this kind of operation, I would recommend using the FILTER() expression, which allow you to catch the key-column automatically.

For reference:

FILTER() - AppSheet Help

Aurelien_0-1700834603583.png

 

View solution in original post

3 REPLIES 3
Top Labels in this Space