cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Body of HTML message is malformed

When I've switched to code view I was able to define it via HTML code, just as soon as I've reopen the workflow and saved it the HTML formatting was broken. See the pictures attached.

 

image001-1.png 

When reopened flow, body was malformed. Switching to HTML editor didn't help.

image002.png 

I see this happening quite often to also other colleagues in company and I always have to rewrite the whole message body.

 

Any idea how to avoid this behavior?

3 REPLIES 3
Community Support
Community Support

 

Hi @marekbuban ,

 

If you want to add hyperlinks to the email body and use Dynamic content as the component of the hyperlink, I suggest that you could edit body in code view. And you don’t need to switch the view to editor view again. I think that the Editor view only plays an auxiliary role, which can facilitate us to use the tool to modify the email body directly, but if you need to add complex styles to the email body, I recommend completing it directly in the code view.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-bacao-msft for your answer, but problem was that the code was broken after I open flow. It was automatically switched from HTML editor to basic editor and switching to HTML didn't help.

I noticed that switch is disabled now once you start editing HTML, so you can't switch back to basic editor. That should prevent such situations.

 

Hi @marekbuban ,

 

I did a test on my side and it seems that I cannot reproduce the problem you described. If you need to insert complex styles in email, or you cannot use controls to modify the content in the body in the Editor view, please edit the email body directly in the code view and do not switch the view back to the Editor view.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (3,616)