Loading

Multi-line text and rich text fields limits and restrictions

Дата публикации: Oct 13, 2022
Описание
Sometimes when trying to insert exact 4,000 characters in case comments field via SOAP API, REST API or Bulk API customers receive this error: STRING TOO LONG
Решение

Multi-line text: Fields like CaseComment.Body have a limit of 4,000 bytes. 

However, the limit of actual characters can be less than 4,000. It is also different for each case, depending on the encoding. The reason is that the 4,000 character limit not only includes visible characters, but also any of the HTML encoding. 

Length limit in multi-line text fields is by default enforced at the character level and not at the byte level. 

Rich text: Rich text fields that contain images, the image source tag counts against the character limit. See Rich Text Area Field Limitations.
Номер статьи базы знаний

000382141

 
Загрузка
Salesforce Help | Article