Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

When creating another Sharepoint List Item I get html markup

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have an approval flow working where if an item is approved from one Sharepoint Online list the flow creates another item in a different list.

 

The problem we are getting is that the original list item has a field called description which is set to Enhanced Rich Text when the flow creates a new list item using the description from the original item the new field gets populated with everything from it including the html markup. The new field is also Enhanced Rich Text.

 

For example:
2018-05-21 09_33_33.png

Is there anyway to resolve this ? Apart from maybe switching both fields to plain text.

 

Thanks

  • FredTheShred Profile Picture
    2 on at
    Re: When creating another Sharepoint List Item I get html markup

    Thanks for that.

     

    It actually appears that something I am doing with Powerapps to modify the Sharepoint List form is breaking the field on the new Sharepoint List.

     

    I am changing some properties (hiding it from certain users) of another field on the modern form using Powerapps and this is breaking the way the description field is displayed becuase if I setup a new list and don't change anything it works fine.

     

    I will ask the question about the form over in Powerapps and report back here.

     

    Thanks

  • v-xida-msft Profile Picture
    on at
    Re: When creating another Sharepoint List Item I get html markup

    Hi @FredTheShred,

     

    Could you please share a screenshot of your flow's configuration?

    Is the Description column a Multiple lines of text type column in your Original list?

    Further, do you want to insert the Description value from the Original list into another list as a plain text?

     

    I suppose that the Description column is a Multiple lines of text type column in your Original list, is it true? If you want to insert the Description value from the Original list into another list as a plain text, I think the "Html to text" action could achieve your needs.

     

    I have created two SharePoint lists on my side and the data structure of them as below:23.JPG

     

    24.JPG

     

    Note: The Description column is a Multiple lines of text type column in my OriginalList, the Destination_Description column is a Single line of text type column in my DestinationList.

     

    I have made a test on my side and please take a try with the following workaround:25.JPG

    The flow works successfully as below:26.JPG

     27.JPG

     

     

     

    Please check and see if the following article would help in your scenario:

    https://powerusers.microsoft.com/t5/Using-Flows/Send-an-email-when-a-new-item-is-created-in-SharePoint/m-p/112617/highlight/true#M2958

     

     

    Best regards,

    Kris

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: When creating another Sharepoint List Item I get html markup

    Can you please verify that the multi-line text column in the destination list is not set to plain text?  The only way I can replicate your issue is by having the column in the source list be set to rich or enhanced rich text and the destination column set to plain text.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow