Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C1B24F66 for ; Mon, 11 Jul 2011 10:38:15 +0000 (UTC) Received: (qmail 56025 invoked by uid 500); 11 Jul 2011 10:38:14 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 52465 invoked by uid 500); 11 Jul 2011 10:38:02 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 52449 invoked by uid 99); 11 Jul 2011 10:37:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 10:37:58 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of meric101@hotmail.com designates 65.55.34.152 as permitted sender) Received: from [65.55.34.152] (HELO col0-omc3-s14.col0.hotmail.com) (65.55.34.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 10:37:51 +0000 Received: from COL109-W11 ([65.55.34.137]) by col0-omc3-s14.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Jul 2011 03:37:31 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_114f265a-d082-4776-8298-743edb05054e_" X-Originating-IP: [195.142.27.163] From: =?windows-1254?B?TWVyaecgVGF6ZQ==?= To: Subject: RE: How can I add document to fileshare repository Date: Mon, 11 Jul 2011 13:37:31 +0300 Importance: Normal In-Reply-To: <4E1ABA3E.9020208@alfresco.com> References: ,<4E1ABA3E.9020208@alfresco.com> MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jul 2011 10:37:31.0220 (UTC) FILETIME=[899BF940:01CC3FB6] --_114f265a-d082-4776-8298-743edb05054e_ Content-Type: text/plain; charset="windows-1254" Content-Transfer-Encoding: 8bit thanks a lot. Well, how can I create an object-type property? For example i have two documents doc1 and doc2 and a property 'prop' whose source is doc1, target is doc2. How can i create a relation btw them? There is no topic about this in documentation part. I found an example on net, Map relProps = new HashMap(); relProps.put("cmis:sourceId", doc1.getId()); relProps.put("cmis:targetId", doc2.getId()); relProps.put("cmis:objectTypeId", "R:cmiscustom:assoc"); session.createRelationship(relProps, null, null, null);However, i could not do that, and again it says repository does not support relationships in fileshare repository's page.My questions are:How can i create relationships?If above code is almost true, where can i write property name 'prop' ? > Date: Mon, 11 Jul 2011 09:54:22 +0100 > From: florian.mueller@alfresco.com > To: dev@chemistry.apache.org; meric101@hotmail.com > Subject: Re: How can I add document to fileshare repository > > Hi, > > Since the FileShare repository doesn't support versioning, the versioning state enum in createDocument() MUST be set to NONE. > Any other versioning state (including the default value) will return an error. > > > - Florian > > > On 11/07/2011 09:46, - MeRiC - wrote: > > > > Hi, > > > > I'm trying to add document to fileshare repository but i'm getting an error which says conflict. I did whatever documentation says, i can create folder but can't create document. In chemistry's site it says The repository does not support document versions. If it means i can not create document, how can I make it allowable? > > thanks in advance.. > --_114f265a-d082-4776-8298-743edb05054e_--