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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / RichText 4000 characte...
Power Apps
Unanswered

RichText 4000 characters - Workaround?

(0) ShareShare
ReportReport
Posted on by 315

Hi!
We have an app where the 4000 character limit is kind of annoying. Is there any way to work around this?

If we create 3 columns: Rich1, Rich2, Rich3.

Is there some way to use the RichText input seemlessly and make sure that the first 4000 characters are stored in one column, and the next in the second? Then shown like they are one?


Any way to code this, or any other suggestions?

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    The Left() function will allow you to put out the first 4000 characters from a string, e.g. Left(myString, 4000)

     

    That said, it is cumbersome to work with multiple columns for a string in this way. It sounds like you're using SharePoint as a data source - Dataverse offers text columns with higher capacity if you're able to make the switch.

     

    Hope that helps,

    Bryan

  • mrstian89 Profile Picture
    315 on at

    Thanks!
    It is Dataverse, the RichText only allows for maximum 4000 characters unfortunately.

    What if the HtmlText is at 9000 characterrs, how do I get character 4001 - 8000 to be added to the second column, and 8001 to 9000 to the third column?

  • BCLS776 Profile Picture
    8,994 Moderator on at

    Use Len(myString) to check the length of it and help with conditional logic, then use Mid(myString, 4000, 4000) to get the second portion of 4000 characters and Mid(myString, 8000, 1000) to get the last 1000 characters in a 9000 character string.

     

    Bryan

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard