I have a sharepoint list with a multi select column and I need to get that data and add it to an Adaptive Card as a single line of text. I can't use variabes and append each value to a string because I have an "Apply to each" loop runnning concurrently with a degree of 50, so the variables get caught each up with each other.
The output of the column to the adaptive card should be something like "x, y, z".
Hi @Goochy13,
With the following expressions you should be able to show the value of Multi select column of the first three options separately. In my example MultiChoice is the name of the multi select SharePoint column.
outputs('Get_items')?['body/value'][0]['MultiChoice'][0]['Value']
outputs('Get_items')?['body/value'][0]['MultiChoice'][1]['Value']
outputs('Get_items')?['body/value'][0]['MultiChoice'][2]['Value']
Just out of curiosity, is there any dynamic way of doing this?
And would I put that expression in a "compose" block or something else?
Hi @Goochy13
Try to do the following
For each item, you may have single or multiple choice selected so you have to go with the Apply to each for the choice column to pull the values dynamically. Try it out and let me know.
I can't use variables when the outer "Apply to each" loop runs with a parallel degree of 50.
User | Count |
---|---|
87 | |
37 | |
25 | |
13 | |
12 |
User | Count |
---|---|
117 | |
55 | |
36 | |
23 | |
21 |