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 / Line Break In Dynamic ...
Power Automate
Unanswered

Line Break In Dynamic Variable in Outlook Adaptive Card

(0) ShareShare
ReportReport
Posted on by 21
I am redeveloping our internal ICT Organisations wide comms and have opted to use Adaptive Cards. It is using Microsoft Forms to submit which will then process and send out. Within the text blocks you place a place holder where you would like an image to go and then you upload the an image with the same image file name. e.g

Example:
"Harry Potter is a fascinating tale of wizards, wands, broomsticks, dragons, and magic. The story begins with a young boy named Harry Potter who lives at number four Privet Drive, Surrey, England.
<image 1>
His journey begins after the death of his parents at the hands of the evil Lord Voldemort."


I have an apply to each the goes through each line to see if it starts with “<image” and then add the necessary into the an array.



This is all working perfectly and without any issues, the only thing I am really struggling with is how to add a line break because when the “Text” is empty it just disregards it. I have tried replacing it with /n/n/ /r/r/r /n/r/n/r.

If I just add the dynamic content into the adaptive card then the line breaks are where they should be, its just because I am using a array.

I start using spacing in the adaptive card properties to act as an line break and that was working well until I realised when I want to add something onto an new line it was looking like a new double return has been added which made it look stupid.

Does anyone have any ideas?
 
Categories:

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 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard