Re: Question about Paging - numItems

2016-08-23 Thread Sascha Homeier
Hi Florian, thx for fixing this. Just tested on latest trunk and now page.getPage().skipTo() also works properly. Happy to see it gets into v1.0.0 ;) Cheers Sascha P. +84 166 456-3331 shome...@apollon.de turning technology. apollon GmbH+Co. KG Maximilianstr. 104 75172 Pforzheim / Germany www.

Re: Question about Paging - numItems

2016-08-23 Thread Florian Müller
Hi Sascha, I've aligned the use of page.skipTo().getPage() and page.getPage().skipTo(). Please see: https://issues.apache.org/jira/browse/CMIS-994 - Florian Hi Florian, items now show up properly. Thx Florian. I think I might give some advice to our customers on how to get the pages pro

Re: Question about Paging - numItems

2016-08-20 Thread Florian Müller
That's right. I'll extend the JavaDoc and add a code sample on the website. - Florian Am 20. August 2016 04:17:44 schrieb Sascha Homeier : Hi Florian, items now show up properly. Thx Florian. I think I might give some advice to our customers on how to get the pages properly. So regarding

Re: Question about Paging - numItems

2016-08-19 Thread Sascha Homeier
Hi Florian, items now show up properly. Thx Florian. I think I might give some advice to our customers on how to get the pages properly. So regarding to your fix the code on client side should look like this: // initial query with properly set maxItems in operationContext results = query(statem

Re: Question about Paging - numItems

2016-08-19 Thread Florian Müller
Hi Sascha, You found a bug in the Workbench! It's now fixed. Thanks for reporting it! - Florian Hi Florian, thx for the info. Yes, on server side I only return 5 hits except for the last page where I only return 1 (total numItems = 16). I am just a bit confused about the display in the C

Re: Question about Paging - numItems

2016-08-19 Thread Sascha Homeier
Hi Florian, thx for the info. Yes, on server side I only return 5 hits except for the last page where I only return 1 (total numItems = 16). I am just a bit confused about the display in the Chemistry Workbench QueryFrame: When I set skipCount to 0 with maxHits = 5 it properly only shows up 5

Re: Question about Paging - numItems

2016-08-19 Thread Florian Müller
Hi Sascha, You are right, totalNumItems should stay the same for each page (assuming that the data in the repository doesn't change). Some repositories don't always return a value for totalNumItems, but that's OK from the spec point of view. If the client sets maxItems to 5 the server MUST NO

Re: Question about Alfresco Aspects

2016-07-18 Thread Neza Guillaine
Dear OpenCMIS devs, Is there any help you can provide me with? I have been googling around but with no luck. As previously stated, i wish to paginate my query result to give me 4100 results, I tried with pagination and operational context but it keeps giving me only 2000 results. and that happen

Re: Question about Alfresco Aspects

2016-07-13 Thread Jeff Potts
I will add that I know of no reason to use the OpenCMIS Extension if you are using CMIS 1.1 which understands aspects natively. CMIS calls them secondary types. This gist may help: https://gist.github.com/jpotts/7242070 Jeff On Wed, Jul 13, 2016 at 7:22 AM, AJ Weber wrote: > It would help if yo

Re: Question about Alfresco Aspects

2016-07-13 Thread AJ Weber
It would help if you provide a more complete code-snippet, but if you are CREATING a new document and wish to include Alfresco Aspects as part of the document's metadata, you do not need to cast the object at creation time... Construct your OBJECT_TYPE_ID with the type (for example cmis:docume

Re: Question about Alfresco Aspects

2016-07-13 Thread Florian Müller
Hi Alfrescians on this list, Can somebody please help Neza finding the latest Alfresco CMIS documentation?! Thanks! - Florian Dear Florian, I hope this email finds you well. I am writing to request your help in the issue I have. I can successfully migrate documents from my sharepoint si

Re: Question about cmis path

2016-06-24 Thread Florent Guillaume
Hi, Please use a new subject when asking a new question. Regards, Florent On Fri, Jun 24, 2016 at 1:27 PM, Neza Guillaine wrote: > Dear Florian and cmis devs, > > I am writing to request for your advise, > Yesterday my query was limiting the results to 2000 documents only. Yet I > know I have

Re: Question about cmis path

2016-06-24 Thread Neza Guillaine
Dear Florian and cmis devs, I am writing to request for your advise, Yesterday my query was limiting the results to 2000 documents only. Yet I know I have about 4500 documents. Following your advise, I had modified my SharePoint threshold limit view to return up to 100,000 but it still giving me 2

Re: Question about cmis path

2016-06-23 Thread Florian Müller
Hi Neza, Your assumption is correct. You should get at max 10,000 results and your case all results. Check if there is a limit on the server side. - Florian Dear Florian and devs, I hope this email finds you well. I am writing to request for you help again. I was trying to use the query

Re: Question about cmis path

2016-06-23 Thread Neza Guillaine
Dear Florian and devs, I hope this email finds you well. I am writing to request for you help again. I was trying to use the query result to return all documents properties in my repository. However, my repo has about 4310 but I am only able to return 2000. I used the following codes: String que

Re: Question about cmis path

2016-06-20 Thread Neza Guillaine
Hi Florian, Thanks for the quick response. I tried it and it worked as expected. I am still exploring the functionalities and I a m getting along well. bear wit me for any question that might seem too basic. Regards, Neza On Mon, Jun 20, 2016 at 11:37 AM, Florian Müller wrote: > Hi Neza, > > I

Re: Question about cmis path

2016-06-20 Thread Florian Müller
Hi Neza, It is not possible to get the path of a document in a query result. You have to iterate over the result set and call getPaths(). - Florian Dear all, I hope this email finds you well. I am writing to request for your help. I was using cmis query to query all documents in myreposi

Re: Question about Adobe Drive Checkins new file mechanism

2016-03-29 Thread Florian Müller
Hi, There is no (pessimistic) locking in CMIS. So, it's difficult to interpret this error message. Here is a guess. The property cmis:isVersionSeriesCheckedOut is false. From a client perspective the document has not been checked out. That is, a check-in doesn't make sense. Maybe Adobe Drive is c

Re: Question about Adobe Drive Checkins new file mechanism

2016-03-29 Thread Thanh Phan
Hi again, I have to bother you guys again. I' now stuck against Adobe Drive 5. There are 2 ways to create new files in AD5 with the first being the one i mentioned earlier, the second is when we you one of their software suites (photoshop etc) and click on the save as or checkin button with the ta

Re: Question about Adobe Drive Checkins new file mechanism

2016-03-28 Thread Thanh Phan
Youre absolutely right about it's not a checkin request. The first time a document is added for versioning in Adobe Drive they perform a "Check In", which I believe, is similar to a Document Creation request. I think they expect some thing in order to proceed but I have no clue what it is. Since

Re: Question about Adobe Drive Checkins new file mechanism

2016-03-27 Thread Florian Müller
Hi, This is not a checkin request. This is an invalid create document request. (The property cmis:name is missing). Could you please check if there is a PUT request against the PWC resource? That would be the checkin call. - Florian > Hello Florian, I'm extremely appreciate that you take time t

Re: Question about Adobe Drive Checkins new file mechanism

2016-03-27 Thread Florian Müller
Hi, Do you think you can capture this POST request? I don't think this is an OpenCMIS server framework problem, but we should check. At least the InMemory server should be more robust. - Florian > Hello everyone, > > I know it's not a Adobe Drive 5 (AD5) place but i'm pretty desperate now > tr

RE: Question - crosspost

2015-07-13 Thread Jay Brown
Jay Brown Senior Engineer, ECM Development IBM Software Group www.linkedin.com/in/parityerror/ From: Elio Rodriguez To: "dev@chemistry.apache.org" Date: 07/13/2015 12:46 PM Subject: RE: Question Hello I just subscribed as requested. My question is about OpenCMIS and

RE: Question

2015-07-13 Thread Elio Rodriguez
[mailto:f...@apache.org] Sent: lunes, 13 de julio de 2015 2:22 p. m. To: Elio Rodriguez Cc: dev@chemistry.apache.org Subject: Re: Question Hi Elio, This is the right mailing list. Please subscribe before you are sending your question [1]. - Florian [1] https://mail-archives.apache.or

Re: Question

2015-07-13 Thread Florian Müller
Hi Elio, This is the right mailing list. Please subscribe before you are sending your question [1]. - Florian [1] https://mail-archives.apache.org/mod_mbox/chemistry-dev/ > Good Afternoon. > > > > I have been looking for a way to ask a question regarding OPEN CMIS, but > I don’t seem to

RE: Question regarding Chemistry Parts

2015-04-17 Thread Ben Chevallereau
a.com] Sent: 2015, February 24 9:43 AM To: dev@chemistry.apache.org<mailto:dev@chemistry.apache.org>; Lu, Wentao Subject: RE: Question regarding Chemistry Parts Hi, We used this library for different internal use cases and it works really well. After “Chemistry Parts” contains d

RE: Question regarding Chemistry Parts

2015-04-15 Thread Shehadeh, Samir
e.org<mailto:dev@chemistry.apache.org>; Lu, Wentao Subject: RE: Question regarding Chemistry Parts Hi, We used this library for different internal use cases and it works really well. After “Chemistry Parts” contains different sub components: * The jQuery based JS library * The 2 UI compone

RE: Question regarding Chemistry Parts

2015-02-24 Thread Ben Chevallereau
Hi, We used this library for different internal use cases and it works really well. After “Chemistry Parts” contains different sub components: * The jQuery based JS library * The 2 UI components based on the previous library to browse a repository * And finally WebParts and AppParts that embed th

RE: Question regarding Chemistry Parts

2015-02-24 Thread Lu, Wentao
Thanks Jay and Ben for confirm. Not sure why I did not receive your replies. To answer Ben's question: we don't have any deadline, just want to know if this library is mature enough so we can use it in our coming projects. Wentao From: Lu, Wentao Sent: 2015, February 20 10:16 AM To: dev@chemi

Re: Question regarding Chemistry Parts

2015-02-24 Thread Ben Chevallereau
1. I confirm Jay’s answer. Only the browser binding will be supported. 3. There is no release map clearly defined right now. Do you have any deadline or use case that we could help you with? Ben Ben Chevallereau | Software Architect Armedia LLC website | ben.chevaller...@armedia

Re: Question regarding Chemistry Parts

2015-02-20 Thread Jay Brown
1. Chemistry parts will only work with the Browser Binding. (by design) 2. FileNet CMIS (part of IBM Content Navigator (ICN) product) currently ships a tech preview version that supports CMIS 1.1 (including the browser binding). This is included with all ICN 2.0.3 and later releases. The unoff

Re: Question Regarding DotCMIS 0.6 and OpenCMIS 1.1

2014-11-13 Thread Florian Müller
Hi Robert, CMIS servers should provide CMIS 1.0 and CMIS 1.1 endpoints. DotCMIS 0.6 should work fine if you are using the CMIS 1.0 URL. Connecting to a CMIS 1.1 (AtomPub) URL works in many cases, but you may run into a few issues in some edge cases. - Florian > Hello, > > I am hoping someone

Re: Question regarding 100 KB limitation, XMLUtils.readText(parser, XMLConstraints.MAX_STRING_LENGTH)

2014-05-16 Thread Florian Müller
Hi Slawek, The same code is used on the server side and protects servers from DoS attacks. Clients shouldn't be allowed to send an infinite long property value and with that consuming all resources of the server. On the client side, you could argue that you are only connecting to trusted serve

Re: Question about CmisObject and getRenditions() method

2013-12-06 Thread Florian Müller
Hi Mark, It's probably the other way round: 0.8.0 returns null and 0.10.0 returns an empty list. The OpenCMIS API was inconsistent in regards to empty and non-existing lists. Some parts of the API returned null, others empty lists. It was also binding dependent. For example, the Web Services

Re: Question about querying created files

2013-07-10 Thread Sebastian Danninger
Dear Jeff, thanks for the hint, I used this tutorial to change it: http://deepak-keswani.blogspot.co.at/2012/12/how-to-disable-solr-enable-lucene-on.html Works like a charm now, just wanted to let the others know all the best Sebastian 2013/7/9 Jeff Potts > Sebastian, > > It sounds like you

Re: Question about querying created files

2013-07-09 Thread Jeff Potts
Sebastian, It sounds like you might be using Solr as your search engine for Alfresco. Solr is eventually consistent. Until we switch over to using the database for metadata searches your best bet may be to reconfigure Alfresco to use Lucene instead of Solr. If you need to know how to do that, c

Antwort: Re: Question regarding OpenCMIS Authentication Methods

2013-06-18 Thread Michel Riondel
...@zurich.com Von:Florian Müller An: Kopie: Datum: 18.06.2013 16:53 Betreff:Re: Question regarding OpenCMIS Authentication Methods Hi Michel, You can control the authentication method with session parameters [1]. Check the parameters AUTH_HTTP_BASIC and AUTH_SOAP_USERNAMETOKEN

Re: Question regarding OpenCMIS Authentication Methods

2013-06-18 Thread Florian Müller
Hi Michel, You can control the authentication method with session parameters [1]. Check the parameters AUTH_HTTP_BASIC and AUTH_SOAP_USERNAMETOKEN. OpenCMIS sends both by default because some repositories need both for some reason. - Florian [1] http://chemistry.apache.org/java/developing

Re: question on Chemistry client API (0.8.0 release) - usage from Websphere 7

2013-01-19 Thread Florian Müller
Hi Mark, Using the chemistry-opencmis-client-binding-websphere-0.8.0.jar should solve your problem. It cuts the dependency to the Sun JAX-WS implementation, which can cause trouble even if you don't use the Web Services binding. The default bindings jar contains a configuration that forces JAX

Re: question on Folder and Document info via CMIS

2012-08-31 Thread Florian Müller
Hi Mark, A few additional comments: - You can only count what the current users is allowed to see. There could be additional documents in the folder. - If documents have no content, the cmis:contentStreamLength property can be null. Be prepared for that or, even better, filter them in the que

Re: question on Folder and Document info via CMIS

2012-08-30 Thread Mark Streit
Jeff Wow - thanks for the lightning fast response :-) You're of course right - just select the single property cmis:contentStreamLength instead of the * - good point. Will look at the Paging on the result set. On Thu, Aug 30, 2012 at 5:40 PM, Jeff Potts wrote: > Yeah, what you'd like to be ab

Re: question on Folder and Document info via CMIS

2012-08-30 Thread Jeff Potts
Yeah, what you'd like to be able to do is a SELECT sum(cmis:contentStreamLength) from cmis:document where... But you can't. :) So you'll have to iterate. Couple of thoughts, though: - Ask for the cmis:contentStreamLength specifically--don't use * if all you need is that length property. That

Re: question about SessionParameter.REPOSITORY_ID

2012-08-24 Thread Florian Müller
Hi Mark, You always need a repository id to set up an OpenCMIS session! However, if there is only one repository exposed (e.g. Alfresco), these two lines help you detect and hide it: List repositories = factory.getRepositories(parameters); Session session = repositories.get(0).createSession()

Re: question about adding a multi-valued property to a CMIS Document model

2012-07-24 Thread Jeff Potts
Mark, This is Alfresco-specific, so if you have follow-up questions I'd be happy to take them off-list or you can post them in the Alfresco forums (http://forums.alfresco.com), but the way you make a property multi-value in Alfresco is like this: Someco

Re: question about adding a multi-valued property to a CMIS Document model

2012-07-24 Thread Florent Guillaume
Yes, the notion of custom multi-valued properties for subtypes of Document (and other base types actually) is supported by the standard and by most if not all implementations. Florent On Tue, Jul 24, 2012 at 4:38 AM, Mark Streit wrote: > We are using the OpenCMIS 0.8.0 SNAPSHOT JARs to interact

Re: question re: OpenCMIS client API and Sharepoint 2010

2012-05-19 Thread Florian Müller
Hi Mark, You are using the wrong WSDL URLs. It should be something like http:///_vti_bin/CMISSoapwsdl.aspx . See [1]. The CMIS Workbench [2] might help you checking if you can connect to SharePoint. - Florian [1] http://technet.microsoft.com/en-us/library/ff934619.aspx [2] http://chemistry.ap