cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
glura
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
Pstork1
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
Pstork1
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

AKRogers
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!

glura
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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (29,268)