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

Formatting stripped from String Variable when Sending Email

I have a Sharepoint List that has "Multi-Line Text" Column for users to fill out details. I pull that into a string variable in my flow. When that happens and I try to send an email with that content the formatting gets stripped. Any help would be appreciated!

    List:

Capture.JPG

Email:

Capture2.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Community Champion
Community Champion

Hey @Trevor_Velox 

 

You will need to replace the return lines in the multiline text with <br>.

 

Create a variable called return, a string and hit return.

 

The do a replace on the multiline with <br>

replace(outputs('Compose'),variables('Return'),'<br>')

 

DamoBird365_0-1614281360737.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

View solution in original post

2 REPLIES 2
DamoBird365
Community Champion
Community Champion

Hey @Trevor_Velox 

 

You will need to replace the return lines in the multiline text with <br>.

 

Create a variable called return, a string and hit return.

 

The do a replace on the multiline with <br>

replace(outputs('Compose'),variables('Return'),'<br>')

 

DamoBird365_0-1614281360737.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

View solution in original post

That worked! Thank you for your time!

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (55,873)