<?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: Hi everyone, I am facing Nuexo exception &amp;quot;can not fetch document type id..&amp;quot; in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/hi-everyone-i-am-facing-nuexo-exception-quot-can-not-fetch/m-p/319556#M6557</link>
    <description>&lt;P&gt;Can you test your query in NXQL on your server and see if you get any results? This may help you identify any issues with your query.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Nov 2018 22:51:51 GMT</pubDate>
    <dc:creator>Jackie_A</dc:creator>
    <dc:date>2018-11-28T22:51:51Z</dc:date>
    <item>
      <title>Hi everyone, I am facing Nuexo exception "can not fetch document type id.."</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/hi-everyone-i-am-facing-nuexo-exception-quot-can-not-fetch/m-p/319555#M6556</link>
      <description>&lt;P&gt;Here i am getting docs value empty can anyone help me please.....PFB code.&lt;/P&gt;
&lt;P&gt;public void run() throws NuxeoException {
String tenantDocumentPath = getOrCreateCPODocTypesForGlobalUsageMangementDoc(tenantId, session).toString();
DocumentModelList docs = session.query(String.format(
"Select * from FlexibleDocType where %s = '%s' AND ecm:path STARTSWITH '%s'",
CPO_FLEXIBLE_DOC_TYPE_ID_PROPERTY, fmDocTypeId, tenantDocumentPath));
if (docs.size() == 0) {
throw new NuxeoException("Can not fetch fm doc type with id: " + fmDocTypeId);
}
if (docs.size() &amp;gt; 1) {
log.error("More than one fm doc type found for the id: " + fmDocTypeId + " .This must be fixed");
}&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;            fmDocType = docs.get(0);
            fmDocType.detach(true);
        }
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:28:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/hi-everyone-i-am-facing-nuexo-exception-quot-can-not-fetch/m-p/319555#M6556</guid>
      <dc:creator>Srikanth_Manchi</dc:creator>
      <dc:date>2018-06-26T11:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hi everyone, I am facing Nuexo exception "can not fetch document type id.."</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/hi-everyone-i-am-facing-nuexo-exception-quot-can-not-fetch/m-p/319556#M6557</link>
      <description>&lt;P&gt;Can you test your query in NXQL on your server and see if you get any results? This may help you identify any issues with your query.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 22:51:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/hi-everyone-i-am-facing-nuexo-exception-quot-can-not-fetch/m-p/319556#M6557</guid>
      <dc:creator>Jackie_A</dc:creator>
      <dc:date>2018-11-28T22:51:51Z</dc:date>
    </item>
  </channel>
</rss>

