cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
glura
Level: Powered On

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
Dual Super User
Dual Super User

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
Dual Super User
Dual Super User

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

AKRogers
Level 8

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!

glura
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,112)