This article describes how to solve the description field problem in DocumentsCorePack. If you try to create an activity and it fails with the soap Exception you see below, it is due to the limitation of length of the “CRM description-field”.
There are three possibilities to solve this problem:
1) By customizing the “letter”-entity
2) By disabeling DCP description
3) By cutting the DCP description
1) Customize “letter”-entity
To do this, open CRM, click on "Settings" ---> "Customizations" ---> “Customize the System”.
In the next window, search for the entity “lettter” in the tree view on the left, chose “Fields” in the drop-down list and scroll down to “description”. (See next screenshot)
Open “description” with a double-click. Now you can change the value of the field “Maximum Length”. (See screenshot below)
Next, click on “Save and Close”. Once you changed the value, click on “Publish All Customizations”.
2) Disable DCP description
The second option would be, disabeling DCP description. This can be done by a new "Settings-key" for DocumentsCorePack. (Possible since DCP Client v4.53). Learn how to create a new Settingskey here.
Name the new settingskey "DoNotFillDescriptionField", set “IsCached” with “No” and give it a value "true" (field blank) and “Save” your settings.
Now you have disabled the DocumentsCorePack description field.
3) Cut DCP description
The third option would be by cutting the DCP description. The number of character is either the same (in our example its “2000”) or smaller than the actual length attribute. For example if you type in a value of “1000”, then “1000” character will be filled into the description field and the rest is cut.
This can be done in the products settings key. Follow the steps described in the second option, to generate a new settings key. Set the name with “DoNotFillDesciptionField”, set “IsCached” with “No” and give it a value “1000” and “Save” your settings. (See next screenshot).
Now you have set the option to only show 1000 signs and cut the rest.
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to firstname.lastname@example.org.