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=<object custom=">&code=</a>[Dynamic Content]<a href="href="http://system.domain.com/index.php?id=<object custom=">">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...
Solved! Go to Solution.
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
Nice video here that shows a solution: (426) Power Automate Dynamic Content Email Links - YouTube
@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.
User | Count |
---|---|
93 | |
45 | |
19 | |
19 | |
15 |
User | Count |
---|---|
137 | |
54 | |
42 | |
42 | |
30 |