web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Convert Rich Text to P...
Power Apps
Answered

Convert Rich Text to Plain Text

(0) ShareShare
ReportReport
Posted on by 161

I have a PowerApp Form that has Rich Text DataCards. The Form is submitted to a SharePoint List. The corresponding columns in the SharePoint List have been set up with Plain Text.

 

Is there a code so when submitting the PowerApp Form to SharePoint, The Rich Text get converted to Plain Text in SharePoint.

 

Adrian59_0-1662365667042.png

 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    You can try something like below -

    add a TextInput control to your rich text column datacard. Set the default property to PlainText(DataCardValueRichText.Text)

    and then you will have to change the formula written on Update property of that datacard to

    TextInput1.Text

    Change the visibility of TextInput1 to false

  • Adrian59 Profile Picture
    161 on at

    Hi.

    You solution did not work but I found a solution that does work.

    Thanks for your time.

  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @Adrian59 ,

     

    Glad to see your problem has been solved, maybe you could consider marking your answer as a 'Solution' to close the case. 

    Cheers!

     

     

    Best Regards,
    Charlie Choi

  • linapapa Profile Picture
    7 on at

    Hi @Adrian59 ,

     

    How did you solve the problem?

     

    thanks !

  • Adrian59 Profile Picture
    161 on at

    Hi linapapa

    I think this is it.

    Ensure your SharePoint List settings are at Plain Text.

    Select the DataCard in Power Apps and use the below code in the Update field.

    Adrian59_0-1689310640793.png

    Hope this works.

    Adrian.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard