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

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

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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (11,133)