web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint String to A...
Power Automate
Answered

Sharepoint String to Array

(0) ShareShare
ReportReport
Posted on by 47

Hi Folks, I am storing a multi-option value (array) from MS Forms to a Sharepoint list with data type as "Single line text". Here is what how it is stored in my list. So technically the Array is saved as a String here. 

Array Value as String.pngI have tried to initiate a variable to convert the sharepoint list value (string) as array, but due to some reasons (May be due to the list value is declared as string in step 1). The action is failing.

 

convert to array.png

 

 

Error.png

 

Please assist, I want to convert this array as a comma separated value for layman understandable format. 

Categories:
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    HI @Franklin_vaz 

     

    Just use join().

     

    DamoBird365_1-1622309724625.png

    Will become ....

     

    DamoBird365_0-1622309707778.png

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉

     

  • Franklin_vaz Profile Picture
    47 on at

    @DamoBird365 Thank you very much for the answer, may be i did not explain my issue well.

     

    My problem was the my source data from Sharepoint coming in as a string. I was not able to success just using Join function.

     

    But i figured out, the incoming data from MS Forms is a JSON. So i encapsuled the incoming array of values using a JSON function and applied it in JOIN action like below with comma as separater. It worked!

    Screenshot 2021-06-02 093148.png

    This enabled me to store my incoming values as comma separated values directly in Sharepoint. The issue is solved now.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard