<?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: Create a file in the repository: exception during update in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-a-file-in-the-repository-exception-during-update/m-p/50178#M29089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:red;"&gt;&lt;STRONG&gt;parentRef.setAssociationType(Constants.ASSOC_CHILDREN);&lt;BR /&gt;parentRef.setChildName(Constants.ASSOC_CHILDREN);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it had to be used&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:green;"&gt;&lt;STRONG&gt;parentRef.setAssociationType(Constants.ASSOC_CONTAINS);&lt;BR /&gt;parentRef.setChildName(Constants.ASSOC_CONTAINS);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now my question is: in what caese should the ASSOC_CONTAINS values be used?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but the documentation of WS APIs is not so clear and sometimes the examples are useful but not completely explained from the model&amp;nbsp; point of view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks to everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 10:46:28 GMT</pubDate>
    <dc:creator>sergio</dc:creator>
    <dc:date>2006-11-27T10:46:28Z</dc:date>
    <item>
      <title>Create a file in the repository: exception during update</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-a-file-in-the-repository-exception-during-update/m-p/50177#M29088</link>
      <description>Hi all.I am not able to find the error in my code. The task is very simple: creating a file inside a node.Here the code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rivate void wsCreateNewContent(String nodeId)&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String storeSchema = Constants.WORKSPACE_STORE;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;String storeAddress = "SpacesStore";&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;final Store STORE = new Store(s</description>
      <pubDate>Mon, 27 Nov 2006 10:17:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-a-file-in-the-repository-exception-during-update/m-p/50177#M29088</guid>
      <dc:creator>sergio</dc:creator>
      <dc:date>2006-11-27T10:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a file in the repository: exception during update</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-a-file-in-the-repository-exception-during-update/m-p/50178#M29089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:red;"&gt;&lt;STRONG&gt;parentRef.setAssociationType(Constants.ASSOC_CHILDREN);&lt;BR /&gt;parentRef.setChildName(Constants.ASSOC_CHILDREN);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it had to be used&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:green;"&gt;&lt;STRONG&gt;parentRef.setAssociationType(Constants.ASSOC_CONTAINS);&lt;BR /&gt;parentRef.setChildName(Constants.ASSOC_CONTAINS);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now my question is: in what caese should the ASSOC_CONTAINS values be used?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but the documentation of WS APIs is not so clear and sometimes the examples are useful but not completely explained from the model&amp;nbsp; point of view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks to everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 10:46:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-a-file-in-the-repository-exception-during-update/m-p/50178#M29089</guid>
      <dc:creator>sergio</dc:creator>
      <dc:date>2006-11-27T10:46:28Z</dc:date>
    </item>
  </channel>
</rss>

