Hi all,
I have a combobox field with multiple choice options. The selected values should be send via flow to a SP-List. But the flow only gets the frist selected value. I think this happens because in can only use:
ComboBox1.Selected.Result
I get red underlining when I use:
ComboBox1.Selecteditems. or ComboBox1.SelectedItems.Result
How can i get this to work properly?
Solved! Go to Solution.
Suppose your Flow is expecting something simple like a regular string separated by a comma between each item, but you still need this string to be based on one or more values of the ComboBox SelectedItems - in this case you might need to try something like this:
With({_str: Concat(ComboBox2.SelectedItems,Value & ",")},Left(_str,Len(_str) -1 ))
Suppose your Flow is expecting something simple like a regular string separated by a comma between each item, but you still need this string to be based on one or more values of the ComboBox SelectedItems - in this case you might need to try something like this:
With({_str: Concat(ComboBox2.SelectedItems,Value & ",")},Left(_str,Len(_str) -1 ))
Hi @ittruck
You can also convert and pass your multiple values through as a json string as follows:
YourFlowName.Run(
Hi @poweractivate ,
thanks for your advice I' ve recreated your example and after I changed value to result, it worked. 👍
With({_str: Concat(ComboBox1.SelectedItems;Result & ",")};Left(_str;Len(_str) -1));
Thanks also to @AmDev for your answer
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
192 | |
67 | |
46 | |
41 | |
22 |
User | Count |
---|---|
252 | |
121 | |
84 | |
80 | |
72 |