<?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: Question about grabbing document properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/question-about-grabbing-document-properties/m-p/307789#M260919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure that contains clause is going to get you documents with that tag. So let's put that aside and modify your query to find objects with a certain name. You are looking for description. That's defined in an aspect. When need to select properties defined in an aspect you have to use a join. So the query to return the name and description for an object named 'coins.JPG' would look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SELECT D.cmis:name,T.cm:description FROM cmis:document as D join cm:titled as T on D.cmis:objectId = T.cmis:objectId WHERE D.cmis:name='coins.JPG' ORDER BY D.cmis:lastModificationDate DESC&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2013 21:17:05 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-11-22T21:17:05Z</dc:date>
    <item>
      <title>Question about grabbing document properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-about-grabbing-document-properties/m-p/307788#M260918</link>
      <description>So I am having trouble with the description property from the service from my local alfresco server.&amp;nbsp; Here's what I am using:Alfresco Version: Community Edition 4.2eService API URL: http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/queryData sent to service:&amp;nbsp; &amp;lt;?xml versio</description>
      <pubDate>Thu, 21 Nov 2013 21:32:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-about-grabbing-document-properties/m-p/307788#M260918</guid>
      <dc:creator>gereeyehrmo</dc:creator>
      <dc:date>2013-11-21T21:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question about grabbing document properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-about-grabbing-document-properties/m-p/307789#M260919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure that contains clause is going to get you documents with that tag. So let's put that aside and modify your query to find objects with a certain name. You are looking for description. That's defined in an aspect. When need to select properties defined in an aspect you have to use a join. So the query to return the name and description for an object named 'coins.JPG' would look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SELECT D.cmis:name,T.cm:description FROM cmis:document as D join cm:titled as T on D.cmis:objectId = T.cmis:objectId WHERE D.cmis:name='coins.JPG' ORDER BY D.cmis:lastModificationDate DESC&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 21:17:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-about-grabbing-document-properties/m-p/307789#M260919</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-11-22T21:17:05Z</dc:date>
    </item>
  </channel>
</rss>

