<?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: Not able to read aspect properties using CMIS? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287362#M240492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also my URL is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://dev-alfresco:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom" rel="nofollow noopener noreferrer"&gt;http://dev-alfresco:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went ahead and used CMIS query approach instead to pull the aspect specific properties. It works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String cmisQuery = "SELECT doc.*, salo.* FROM cmis:document AS doc JOIN salo:documentProperties AS salo ON doc.cmis:objectId = salo.cmis:objectId ";&lt;BR /&gt;String cmisQueryWhereClause = "WHERE";&lt;BR /&gt;// add where clause&lt;BR /&gt;cmisQueryWhereClause += "(salo.salo:lo_id = 1867) AND (salo.salo:lo_category = 'Type1')"&lt;BR /&gt;&lt;BR /&gt;ItemIterable&amp;lt;QueryResult&amp;gt; queryResults = cmisSession.query(cmisQuery, false);&lt;BR /&gt;for (QueryResult queryResult:queryResults) {&lt;BR /&gt;&amp;nbsp; PropertyData&amp;lt;?&amp;gt; abcProperty = queryResult.getPropertyByOd("abc");&lt;BR /&gt;&amp;nbsp; String abcValue = abcProperty.getFirstValue().toString()&lt;BR /&gt;&amp;nbsp; //…&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2016 11:56:00 GMT</pubDate>
    <dc:creator>sepgs2004</dc:creator>
    <dc:date>2016-05-27T11:56:00Z</dc:date>
    <item>
      <title>Not able to read aspect properties using CMIS?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287360#M240490</link>
      <description>I am able to read the document using its path. I can see that it is the object that I am interested in.On the folder that this document is, I have created a rule to add the aspect to any thing that comes in.Now, in share, when I look at this document, by editing its properties, I see all the cm:docu</description>
      <pubDate>Fri, 26 Feb 2016 22:19:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287360#M240490</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2016-02-26T22:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to read aspect properties using CMIS?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287361#M240491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you confirm you are using the proper CMIS 1.1 service URL and that you do not have the alfresco opencmis extension anywhere on your classpath?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 16:40:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287361#M240491</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-03-30T16:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to read aspect properties using CMIS?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287362#M240492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also my URL is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://dev-alfresco:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom" rel="nofollow noopener noreferrer"&gt;http://dev-alfresco:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went ahead and used CMIS query approach instead to pull the aspect specific properties. It works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String cmisQuery = "SELECT doc.*, salo.* FROM cmis:document AS doc JOIN salo:documentProperties AS salo ON doc.cmis:objectId = salo.cmis:objectId ";&lt;BR /&gt;String cmisQueryWhereClause = "WHERE";&lt;BR /&gt;// add where clause&lt;BR /&gt;cmisQueryWhereClause += "(salo.salo:lo_id = 1867) AND (salo.salo:lo_category = 'Type1')"&lt;BR /&gt;&lt;BR /&gt;ItemIterable&amp;lt;QueryResult&amp;gt; queryResults = cmisSession.query(cmisQuery, false);&lt;BR /&gt;for (QueryResult queryResult:queryResults) {&lt;BR /&gt;&amp;nbsp; PropertyData&amp;lt;?&amp;gt; abcProperty = queryResult.getPropertyByOd("abc");&lt;BR /&gt;&amp;nbsp; String abcValue = abcProperty.getFirstValue().toString()&lt;BR /&gt;&amp;nbsp; //…&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 11:56:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-read-aspect-properties-using-cmis/m-p/287362#M240492</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2016-05-27T11:56:00Z</dc:date>
    </item>
  </channel>
</rss>

