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

format text when updating sharepoint list item of type Enhanced Rich Text

I have a sharepoint list that when a specific value is chosen in one field, a text field for the list item is updated.  The updated text field is of type Enhanced Rich Text.

I created a flow that would update this text field with a list of items such as:

Agenda
1. Item 1
2. Item 2
3. Item 3

 

When I go to sharepoint and view that list item, formatting was lost and the text is displayed as:

Agenda 1. Item 1 2. Item 2 3. Item 3

 

If the field type of the sharepoint list item is switched to Rich Text and I use the same flow, the formatting is retained and appears as expected:

Agenda
1. Item 1
2. Item 2
3. Item 3

 

Is anyone aware of what could be done to retain formatting when the sharepoint list field is using Enhanced Rich Text instead of Rich Text?

 

Thanks,

Gary

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: format text when updating sharepoint list item of type Enhanced Rich Text

Have you tried applying the formatting in the Flow using HTML encoding?  I suspect that is why the linebreaks are bing ignored.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User II
Dual Super User II

Re: format text when updating sharepoint list item of type Enhanced Rich Text

Have you tried applying the formatting in the Flow using HTML encoding?  I suspect that is why the linebreaks are bing ignored.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Helper V
Helper V

Re: format text when updating sharepoint list item of type Enhanced Rich Text

Hi Gary,

 

To get formatting to "stick" in an Enhanced Rich text field, use HTML tags in your Flow when formatting the data:

 

HTML Text Formatting.png

 

Here is what that looks like in the list:

EnhancedTextListItem.png

Take care!

Ashley

 

If this response provided an answer to your question please mark it as a solution.

If you liked my reply, please give it a thumbs up! Thank you!

Highlighted
Frequent Visitor

Re: format text when updating sharepoint list item of type Enhanced Rich Text

Thank you Pstork1 and Ashley.  I didn't realize HTML could be used there.
notes.jpg
Adding the </br> worked.

 

thanks,

gary

Helpful resources

Announcements
Upcoming Events

Experience what’s next for Power Automate

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

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,254)