cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ProfessionalP
Regular Visitor

Forcing line break on an approval description

I'm trying to put force line breaks on data that will come in like so -

1. Doe, Jack 2. Doe, Jane 3. Smith, John

 

And want it displayed like so -

1. Doe, Jack

2. Doe, Jane

3. Smith, John

 

Its pulling a response to a Form with this dynamic content code -

body('Get_response_details')?['r3111b07f0e83403bbd2d9af9f1a54f9a']

 

and I tried creating an expression with this code -
replace(body('Get_response_details')?['r3111b07f0e83403bbd2d9af9f1a54f9a'],'\n','  ')

But it does not alter the data with a linebreak and puts it in exactly as entered in the form -

1. Doe, Jack 2. Doe, Jane 3. Smith, John

 

My understanding was putting the 'space,space' at the end of the code it would force a line break.

 

Any help is greatly appreciated

 

 

1 REPLY 1
JohnAageAnderse
Memorable Member
Memorable Member

Hello @ProfessionalP 

 

Please take a look at the information about using markdown in Approvals. Note the client support, so you know what to expect and what is suggested if a client does not support the markdown.

https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support

 

Hope this helps you a little 🙂

Kind regards, John

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,394)