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 / How do I remove the qu...
Power Automate
Answered

How do I remove the quotes and [ ] from multi choice questions when populating a word file

(0) ShareShare
ReportReport
Posted on by

Hi all

 

I am really hoping for some help. I have a MS Form which has 4 sets of questions which are multi choice. I then want to populate the Word template to show the selection. I have been able to set this up.

 

I am however struggling to remove the @quotes and [ ] signs. Is there a way I can remove these from showing in the word file?

 

Any help would be pretty amazing!  I have included pictures to demonstrate. Thanks

flow.PNG

example.PNG

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at

    You can use the following expression to join each of the answers with a new line and carriage return. You'll need to ensure your Word document Text field is set to allow carriage returns too.

     

    //You would just need to insert your multiple choice field in place of what I have
    
    join(json(outputs('Get_response_details')?['body/rbffbec37339a4b4eba59abec9635dcbb']), decodeUriComponent('%0D%0A'))

     

    grantjenkins_0-1678453405517.png


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

  • clarkyb Profile Picture
    on at

    Thanks for response - much appreciated. I'm struggling though - is this how the flow would look? I keep getting error messages 

    example.PNG

    failed.PNG

  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    You can add the full expression directly into you Populate a Microsoft Word template or would add it into a Compose.

    grantjenkins_0-1678455825624.png

     

    If you wanted to use a Join action, you would need to split the expression into the following:

     

    //From
    json(outputs('Get_response_details')?['body/rbffbec37339a4b4eba59abec9635dcbb'])
    
    //Join with
    decodeUriComponent('%0D%0A')

     

    grantjenkins_0-1678455939957.png

  • clarkyb Profile Picture
    on at

    you are immense!

  • clarkyb Profile Picture
    on at

    Sorry I have came up with a small issue. When the form question is branched off (therefore not completed). I keep getting a null error.  Is there something I can change on the join? It is currently 

    join(json(outputs('Get_response_details')?['body/r200a521530d34a3a9d833ec47cfc6c32']), decodeUriComponent('%0D%0A')) and I drop it into the populate a ms word field clarkyb_0-1678742660577.png 

     

     
    any help would be fab . Thanks

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard