<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File Name Character Limit in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322411#M9412</link>
    <description>&lt;P&gt;Looking at the nuxeo documentation the default doc id length is 24 (at least in the org.nuxeo.common.utils.IdUtils class document for 5.8). In the past I have overridden this (in java) with the following...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;String docId = IdUtils.generateId(title, "-", true, 65);
docModel = session.createDocumentModel(folderDoc.getPathAsString(), docId, Resources.DOC1);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The docid is generated using "-" as the word separator, all in lower case, and up to 65 characters long). Docid is then used to create the document.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2014 23:54:52 GMT</pubDate>
    <dc:creator>bruce_Grant</dc:creator>
    <dc:date>2014-03-03T23:54:52Z</dc:date>
    <item>
      <title>File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322410#M9411</link>
      <description>&lt;P&gt;It appears to me as though the file name as it relates to the path is being truncated to 25 characters.&lt;/P&gt;
&lt;P&gt;For example, we have a file named tst_onlinebank_noncard_faq.xml so its 30 characters, but when I view the object path it appears as:&lt;/P&gt;
&lt;P&gt;/default-domain/workspaces/tst_faq/tst_onlinebank_noncard_f&lt;/P&gt;
&lt;P&gt;But if I look at the CMIS properties the name is “correct” as follows:&lt;/P&gt;
&lt;P&gt;cmis:name: tst_onlinebank_noncard_faq.xml&lt;/P&gt;
&lt;P&gt;What this affects is searching for a file name by path we can’t find a matching entry as Nuxeo has truncated it.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 23:44:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322410#M9411</guid>
      <dc:creator>rdifrango_</dc:creator>
      <dc:date>2014-03-03T23:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322411#M9412</link>
      <description>&lt;P&gt;Looking at the nuxeo documentation the default doc id length is 24 (at least in the org.nuxeo.common.utils.IdUtils class document for 5.8). In the past I have overridden this (in java) with the following...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;String docId = IdUtils.generateId(title, "-", true, 65);
docModel = session.createDocumentModel(folderDoc.getPathAsString(), docId, Resources.DOC1);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The docid is generated using "-" as the word separator, all in lower case, and up to 65 characters long). Docid is then used to create the document.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 23:54:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322411#M9412</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2014-03-03T23:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322412#M9413</link>
      <description>&lt;P&gt;Thanks, the trick for me is that I'm creating my documents remotely via the Apache Chemistry so I don't think there is a way to trick it into doing this.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 00:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322412#M9413</guid>
      <dc:creator>rdifrango_</dc:creator>
      <dc:date>2014-03-04T00:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322413#M9414</link>
      <description>&lt;P&gt;The only thing I can think of is overriding the default action in Nuxeo through a custom contribution.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 00:08:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322413#M9414</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2014-03-04T00:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322414#M9415</link>
      <description>&lt;P&gt;Since 5.9.3, you'll be able to use the property nuxeo.path.segment.maxsize to set the max size of a path segment&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:13:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322414#M9415</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2014-03-04T10:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322415#M9416</link>
      <description>&lt;P&gt;Is there a way to get this working on Nuxeo 5.8?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 16:38:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322415#M9416</guid>
      <dc:creator>Bauke_Roo</dc:creator>
      <dc:date>2014-04-29T16:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322416#M9417</link>
      <description>&lt;P&gt;No there isn't. It's a new property introduced in 5.9.3&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 16:45:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322416#M9417</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2014-04-29T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Character Limit</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322417#M9418</link>
      <description>&lt;P&gt;Thanks Thierry, It's working now&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2014 14:10:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-name-character-limit/m-p/322417#M9418</guid>
      <dc:creator>Bauke_Roo</dc:creator>
      <dc:date>2014-04-30T14:10:23Z</dc:date>
    </item>
  </channel>
</rss>

