<?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: Retrieving associations over CMIS in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241121#M194251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, new situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously your hint belongs to a "normal" association. Here the additional parameter gives me the correct list of linked documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But what about &lt;/SPAN&gt;&lt;STRONG&gt;child&lt;/STRONG&gt;&lt;SPAN&gt;-associations? They are not in the list of relationships, and there is no working url for getting children of a non-folder document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2009 08:54:48 GMT</pubDate>
    <dc:creator>gehriga</dc:creator>
    <dc:date>2009-11-26T08:54:48Z</dc:date>
    <item>
      <title>Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241118#M194248</link>
      <description>Hi there,right now I'm trying to build an application based on Alfresco, connected over its CMIS API.My current problem while testing the API is following:How can I retrieve a (child-)association of a document via CMIS? I'm able to retrieve properties, child documents of folders, but no associations</description>
      <pubDate>Wed, 25 Nov 2009 10:45:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241118#M194248</guid>
      <dc:creator>gehriga</dc:creator>
      <dc:date>2009-11-25T10:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241119#M194249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had the same problem until David Caruana pointed me in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/cmis/s/workspace:SpacesStore/i/845410d9-03de-4595-a71d-86854ba09e0d/rels?includeSubRelationshipTypes=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/cmis/s/workspace&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;pacesStore/i/845410d9-03de-4595-a71d-86854ba09e0d/rels?includeSubRelationshipTypes=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that CMIS is only giving you back relationships of type "cmis:relationship". All custom relationships are sub-types of cmis:relationship, but the default for includeSubRelationshipTypes is false.&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, 25 Nov 2009 17:20:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241119#M194249</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2009-11-25T17:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241120#M194250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick reply Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but unfortunately an empty list is returned, no matter whether I add &lt;/SPAN&gt;&lt;STRONG&gt;includeSubRelationshipTypes=true&lt;/STRONG&gt;&lt;SPAN&gt; or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the association defined correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The linked document is both child of a folder and now child(-association) of my main document. Could that be decisive?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, the source-part of the association-definition has changed, as the linked document has two parents, not one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;child-association name="hits:DownloadTeaser:Headline"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Headline&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;source&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;many&amp;gt;true&amp;lt;/many&amp;gt;&lt;BR /&gt; &amp;lt;/source&amp;gt;&lt;BR /&gt; &amp;lt;target&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;class&amp;gt;hits:binaryLanguageContent&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;many&amp;gt;false&amp;lt;/many&amp;gt;&lt;BR /&gt; &amp;lt;/target&amp;gt;&lt;BR /&gt;&amp;lt;/child-association&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;For completeness, here's what is returned:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;feed xmlns="&lt;A href="http://www.w3.org/2005/Atom" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2005/Atom&lt;/A&gt;" xmlns:app="&lt;A href="http://www.w3.org/2007/app" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2007/app&lt;/A&gt;" xmlns:cmisra="&lt;A href="http://docs.oasis-open.org/ns/cmis/restatom/200908/" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/ns/cmis/restatom/200908/&lt;/A&gt;" xmlns:cmis="&lt;A href="http://docs.oasis-open.org/ns/cmis/core/200908/" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/ns/cmis/core/200908/&lt;/A&gt;" xmlns:alf="&lt;A href="http://www.alfresco.org" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org&lt;/A&gt;" xmlns:opensearch="&lt;A href="http://a9.com/-/spec/opensearch/1.1/" rel="nofollow noopener noreferrer"&gt;http://a9.com/-/spec/opensearch/1.1/&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;gt;&amp;lt;name&amp;gt;admin&amp;lt;/name&amp;gt;&amp;lt;/author&amp;gt;&lt;BR /&gt;&amp;lt;generator version="3.2.0 (r2 2440)"&amp;gt;Alfresco (Community)&amp;lt;/generator&amp;gt;&lt;BR /&gt;&amp;lt;icon&amp;gt;&lt;A href="http://localhost:8080/alfresco/images/logo/AlfrescoLogo16.ico" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/images/logo/AlfrescoLogo16.ico&lt;/A&gt;&amp;lt;/icon&amp;gt;&lt;BR /&gt;&amp;lt;id&amp;gt;urn:uuid:c609a1bc-5b80-41fa-841f-43c7c0928dce-relationships&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;lt;link rel="service" href="&lt;A href="http://localhost:8080/alfresco/service/cmis%22/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/cmis'/&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;lt;link rel="self" href="&lt;A href="http://localhost:8080/alfresco/service/cmis/s/workspace:SpacesStore/i/c609a1bc-5b80-41fa-841f-43c7c0928dce/rels?includeSubRelationshipTypes=true%22/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/cmis/s/workspace:SpacesStore/i/c609a1bc-5b80-41fa-841f-43c7c0928dce/rels?includeSubRelationshipTypes=true'/&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;lt;link rel="via" href="&lt;A href="http://localhost:8080/alfresco/service/cmis/s/workspace:SpacesStore/i/c609a1bc-5b80-41fa-841f-43c7c0928dce%22/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/cmis/s/workspace:SpacesStore/i/c609a1bc-5b80-41fa-841f-43c7c0928dce'/&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;DownloadTeaser Relationships&amp;lt;/title&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;updated&amp;gt;2009-11-26T09:15:09.846+01:00&amp;lt;/updated&amp;gt;&lt;BR /&gt;&amp;lt;opensearch:totalResults&amp;gt;0&amp;lt;/opensearch:totalResults&amp;gt;&lt;BR /&gt;&amp;lt;opensearch:startIndex&amp;gt;0&amp;lt;/opensearch:startIndex&amp;gt;&lt;BR /&gt;&amp;lt;opensearch:itemsPerPage&amp;gt;-1&amp;lt;/opensearch:itemsPerPage&amp;gt;&lt;BR /&gt;&amp;lt;cmisra:numItems&amp;gt;0&amp;lt;/cmisra:numItems&amp;gt;&lt;BR /&gt;&amp;lt;/feed&amp;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;/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;SPAN&gt;In the Alfresco Node Browser the child-relationship is shown correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 08:42:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241120#M194250</guid>
      <dc:creator>gehriga</dc:creator>
      <dc:date>2009-11-26T08:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241121#M194251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, new situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously your hint belongs to a "normal" association. Here the additional parameter gives me the correct list of linked documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But what about &lt;/SPAN&gt;&lt;STRONG&gt;child&lt;/STRONG&gt;&lt;SPAN&gt;-associations? They are not in the list of relationships, and there is no working url for getting children of a non-folder document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 08:54:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241121#M194251</guid>
      <dc:creator>gehriga</dc:creator>
      <dc:date>2009-11-26T08:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241122#M194252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;meanwhile I refrained from using child associations for my project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my structure of document types I'm using "normal" relations betweens documents. Now I'm trying to discover possible relations on the startup of my application. I'm able to find all possible properties for a certain type by using the script at /alfresco/service/cmis/{typeid}. But there are no associations listed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any possibilty to discover possible relationships for a certain type? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your answers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 10:30:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241122#M194252</guid>
      <dc:creator>gehriga</dc:creator>
      <dc:date>2009-12-15T10:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241123#M194253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry to pull in a different topic, I just started with CMIS web services call. I am getting security header error when I try to call CMIS web service. It will be great if you can share a code sample where you make a call to web services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything basic like getRepositories OR getRepositoryInfo would be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Awaiting response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shivam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 12:38:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241123#M194253</guid>
      <dc:creator>shivam</dc:creator>
      <dc:date>2009-12-16T12:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241124#M194254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks to jpotts i can see that there are relations. But how can i access them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;calling .getRelationships() on the item just returns an empty list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: Ok, now I saw it. So is there really no possibilty at all to get associations via CMIS?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really love to know this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit2: now I found session.getRelationships(). But I just don't get it. Does anybody have an example to share? I'd apreciate that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 10:03:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241124#M194254</guid>
      <dc:creator>fupduck</dc:creator>
      <dc:date>2011-04-21T10:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241125#M194255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Child association are not exposed through CMIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get all relationships by calling getObject() with the parameter includeRelationships=both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should also download the CMIS Workbench [1] and discover what is visible through CMIS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Florian&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="http://chemistry.apache.org/java/developing/tools/dev-tools-workbench.html" rel="nofollow noopener noreferrer"&gt;http://chemistry.apache.org/java/developing/tools/dev-tools-workbench.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 13:53:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241125#M194255</guid>
      <dc:creator>fmui</dc:creator>
      <dc:date>2011-04-26T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving associations over CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241126#M194256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for this information &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally got it to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:42:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-associations-over-cmis/m-p/241126#M194256</guid>
      <dc:creator>fupduck</dc:creator>
      <dc:date>2011-04-27T08:42:37Z</dc:date>
    </item>
  </channel>
</rss>

