cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jasonbic
Frequent Visitor

Send an email (V2) Dynamic Content

When using Send an email (v2) and viewing in Code View, I add a Dynamic field to the content (i.e. a hyperlink a href="<dynamic field>") but when I change the view back Html View it changes the whole email body.

 

For example code view will turn from this:

<a href="http://system.domain.com/index.php?id=[Dynamic Content]&code=[Dynamic Content]">click here</a>

Changed into this:

[Dynamic Content]<a href="http://system.domain.com/index.php?id=&lt;object custom=">&amp;code=</a>[Dynamic Content]<a href="href="http://system.domain.com/index.php?id=&lt;object custom=">"&gt;click here</a>

Absoultely no idea how this happens.. But if I set the code view with the Dynamic Content and Save the Flow, it will work.

However next time I open the Send an email (V2) step it displays as above...

24 REPLIES 24
Paul_Iowa
Advocate I
Advocate I

Although Microsoft has not fixed this bug, @sudosaurus provides a work-around HERE.

i had also solved like this

This worked for me, thank you

mikkel93
New Member

Nice video here that shows a solution: (426) Power Automate Dynamic Content Email Links - YouTube

NECC
Microsoft
Microsoft

@jasonbic - A little bit of thread necromancy here, but I ran into this same issue today and found that if my html formatted message starts with certain html tags (e.g., <p> in my case specificially), the code gets chewed up as the editor reverts to rich text mode. If you have content at the top of the message that's not a <p> tag, it locks into html mode and retains your clean formatting.

 

Not sure if this is a remnant of a bug that was fixed long ago, but so far, I'm only seeing this issue with paragraphs. 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,758)