Home
TeamSite
Document Name length
Justin_obs
Hi,
I am using WorkSite 8.2 and the IManage dll.
I am creating an IManDocument object with the CreateDocument Method and then attempting to check in the document.
This is all working fine but I have run into problems with the maximum number of characters in the filename / document name.
If I have more than 32 characters (including the extension) I get a "Profile is Invalid" error. If the file name is 32 chars or less the check in proceeds without any error.
Can you please confirm if there is an official limit on the filename length or if I am doing something wrong.
Thanks
Find more posts tagged with
Comments
jny
If you mean the filename that is passed into the first argument of the CheckIn method is greater than 32 chars, then it shouldn't throw an error.
If you mean that the Name of the document profile is greater than 32 chars, then it would cause an error as those text fields are limited to 32 chars by the server.
We don't normally use the name filed, but rather the description field. So, you may want to set the description instead.