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 4F266D577 for ; Thu, 30 Aug 2012 22:28:08 +0000 (UTC) Received: (qmail 97972 invoked by uid 500); 30 Aug 2012 22:28:08 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 97907 invoked by uid 500); 30 Aug 2012 22:28:08 -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 97899 invoked by uid 99); 30 Aug 2012 22:28:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 22:28:08 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dave8435@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 22:27:59 +0000 Received: by obbwc18 with SMTP id wc18so8828593obb.1 for ; Thu, 30 Aug 2012 15:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=y8uZXuZsQMLfUoIKg1vFOPDeiyqY4bvKzEK1CZ7gmWc=; b=Vnm59/VEQ4XEQ605MLcmYOG8kUd1vf2XV0Jf3Dlmoqb/PUjpejq4R+NEKBhZc15Lrn x63R+FlJtAKlzUSvqnWbgcmT83aO1jSNs7JpqelD/muQRRyjZRoFcK2EXTCdNnx1UUoo 19g9bg/1cJkNRE2wo+uY2qNC6J6QQXKIZEVqB9C2m1nv666c8Oyvn2aKaXj8xsSw6Vns dw+dwZ12kcUSGH4CpX+NeFVICqhocKW5ID5/D33m/oDyGj03xvFYgyhMIATtOMhIEVRF Ut2Ck4SmNR4/69VXKoGFWeS/2280C5cZ5WCfHv7U8YpWdBCjUOGwq7EWZlJ0jVLq1GP1 1w6g== MIME-Version: 1.0 Received: by 10.60.21.103 with SMTP id u7mr6067785oee.49.1346365658257; Thu, 30 Aug 2012 15:27:38 -0700 (PDT) Received: by 10.60.66.229 with HTTP; Thu, 30 Aug 2012 15:27:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Aug 2012 15:27:38 -0700 Message-ID: Subject: Re: Adding the documents with the custom properties. From: me To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c71ecc59da04c8832e2b --e89a8ff1c71ecc59da04c8832e2b Content-Type: text/plain; charset=ISO-8859-1 Assuming you are asking about setting a multi-valued property with createDocument, the Map.Entry value must be a List. Example (which would be good to add to [2] and/or [3]): Map properties = new HashMap(); properties.put(PropertyIds.OBJECT_TYPE_ID, "Email"); List values = new ArrayList(); values.add("Mary"); values.add("Jane"); properties.put("To", values); // assuming To is the prop def's Id attr folder.createDocument(properties, ... If you think the problem is FileNet-specific, please post to [1]. [1] http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2334&start=0 [2] http://chemistry.apache.org/java/examples/example-create-update.html [3] http://chemistry.apache.org/java/developing/guide.html On Thu, Aug 30, 2012 at 9:25 AM, Pratyush Sinha < pratyush.sinha2511@gmail.com> wrote: > Hi all, > > I am developing a CMIS with GWT. > > i have customProperty for the cmis:objectTypeId : Email > > From, To, received date,sent date, etc. > > in hasMap is for type > except From and Document title all the other properties are giving me > error. > > for example : customProperty TO is mutivalued. > > So want know that what the properties should be included with the > customProperties. > > Regards. > > Pratyush > --e89a8ff1c71ecc59da04c8832e2b--