Symptom
When you try to set a default value for a field of type Formatted Rich Text and you get the error message: "Default value exceeds the allowed text length limit; reduce text length".
Environment
[Enter your Environment here...]
Reproducing the Issue
- Enter the Work Center;
- Enter the Facet;
- Click in Adapt;
- Click on Edit Master Layout;
- Place the mouce over the field;
- Select Properties and click on Field Definition;
- Click in Edit.
Cause
This is the expected behaviour.
Is not allowed any default values exceeding 80 characters in rich text. This limit includes all HTML tags like bold, color etc. Even though the visible text appears like within limit, if we use formatting and special control it will exceed 80 characters.
Ex:
If you want the value as “This is an Issue” using color and bold and other kind of formatting, the customization you have done will result in below HTML which has 80+ characters
<p><strong><span style="text-decoration: underline;">This is an Issue</span></strong></p>
Resolution
Take in consideration the HTML tags when using formatted text. It cannot exceed 80 characters.
See Also
[Enter your See Also here...]
Keywords
[Enter your Keywords here...] , KBA , LOD-CRM , Cloud for Customer , How To