I have been recently working on creating Annotations(Notes/Attachments) on MS Dynamics CRM 2016 and ended up with different error messages from CRM Service while trying to create Notes with more number of characters.
I have searched online for solutions and only managed to found some discussion specifying the character limit(100000) for a Note and also I have learned that these limits are restricted by the "MaxSupportedLength" property of the metadata for various attribute types as in Annotation entity's "notetext" attribute is of type "Memo" which is having MaxSupportedLength of 1048576 but the specific length limit for notetext is different from this. The same is the case with "subject" attribute as well.
Could anyone please direct me to the official documentation for specific attribute(e.g. notetext, subject) data size limits rather than general limits or following a trail and error method through CRM API.
You don't really need documentation, you can see the actual field sizes within CRM itself and that's the only thing that matters (even if some documentation says the length is different).
Settings
> Customization
and click Customize the system
.Annotation
entity and then click Fields
.notetext
field and notice its max length is 100000.subject
and notice its max length is 500.