cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
agusmagne
New Member

From multiple text selection to text field in sharepoint

Hey, just starting with power apps and I have an issue I'd appreciate help with.

 

I have a multiple selection combobox: ["A", "B", "C", ... ] as an example.

 

On sharepoint I have this column as a Multiline text. I wish to get all the selected items from this combobox, concatenate them with a ", " as separator, and save that on my sharepoint table as a simple string.

 

I tried changing the "update" function on my form field to "Concatenate('field', ", ")" but no luck. The error I always get is the "Object needs to implement IConvertible" and I assume it's because the data I'm sending to my sharepoint is not casteable to "multiline text".

 

Any ideas please?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
zmansuri
Super User
Super User

DataCard Update property:

Concat(ComboBox1.SelectedItems.Value,Value,";")

---------------------------------------------------------------------------------------------------------------------------


Was I helpful? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. It will help other users to find it faster.

follow me on Twitter @zmansuri123,
connect with me on LinkedIn from Here

View solution in original post

5 REPLIES 5
zmansuri
Super User
Super User

DataCard Update property:

Concat(ComboBox1.SelectedItems.Value,Value,";")

---------------------------------------------------------------------------------------------------------------------------


Was I helpful? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. It will help other users to find it faster.

follow me on Twitter @zmansuri123,
connect with me on LinkedIn from Here

"There is an error in the formula", any idea why?

 

Concat(DataCardValue22.SelectedItems.'Name (Title)', 'Name (Title)', ", ")

a21.jpga22.jpg

a23.jpg

Working fine for me

---------------------------------------------------------------------------------------------------------------------------


Was I helpful? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. It will help other users to find it faster.

follow me on Twitter @zmansuri123,
connect with me on LinkedIn from Here

Thanks for the pictures. Your data type in your sharepoint is single line of text, right?

Done. Thanks pal!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,976)