Solution for Rich Text Editor inline Base64 images are not displayed after reopening/editing in Constellation

Rich Text Editor inline Base64 images are not displayed after reopening/editing in Constellation - General - Pega Forums

Solution:

Below is the solution for this issue.
Root Cause

The property configured as a Rich Text Editor field is currently limited to 256 characters by default. Since the raw data contains a significantly larger amount of content, the field is truncating the data and not storing the complete value. This is causing the discrepancy that we are seeing.

Resolution

Increase the length of the property to accommodate the expected data size (for example, 50,000 characters or higher, based on business requirements). Once the column size is updated, upload the image/content again and verify the results.

Steps to Update the Column Length

  1. Navigate to ConfigureSystemDatabaseSchema Tools.
  2. Select the appropriate Database.
  3. Choose the relevant Table and Column.
  4. Update the Column Length to the desired value (e.g., 50,000 or more).
  5. Save the changes and perform the upload again.

After increasing the column length, the Rich Text Editor field should be able to store the complete content without truncation, resolving the issue.

Thank you!!!

3 Likes

thanks for sharing! I would love to add to our Constellation 101 series.

To keep inline with the naming we have, do you mind if I change the title to “How to enable Base64 images for Paragraph fields (rich text editor)”?

I’ve already change this to User Experience Knowledge Share so it can be found with others like this (hope that is ok)

1 Like