Last update: 4 August 2017
If you use Microsoft Office's DocProperty functionality with Fabasoft Folio or Fabasoft eGov-Suite, you may recognize that DocProperties with more than 255 characters get truncated to 255 characters.
The Microsoft specification for DocProperties in the old Microsoft Office formats .doc, .xls and .ppt did not specify any size limit for DocProperties (there is a theoretical limit of 4 GB of the file format).
The Microsoft specification for DocProperties in the new Microsoft Office 2007+ formats .docx, .xlsx and .pptx specifies a size limit for DocProperties of 255 characters.
Starting with Microsoft Office 2010, Office applications began to also truncate DocProperties in the old Microsoft Office formats.
Fabasoft uses Microsoft APIs to write DocProperties to both old and new formats. Currently Fabasoft software itself does not truncate DocProperties, but the used Microsoft APIs do.
Therefore, Fabasoft cannot ensure that DocProperties longer than 255 characters survive the Microsoft Office processes during open, save, mail merge and conversion.
Fabasoft has information from own tests and our customers, that Microsoft APIs will truncate DocProperties in some circumstances, but not in others.
Due to that unsteadiness we recommend to not use DocProperties longer than 255 characters.
Fabasoft can suggest one of this ways to avoid long DocProperties (the first way is preferred):