cmis

curl query to check out a document using CMIS

陌路散爱 提交于 2019-12-24 19:05:59
问题 I am trying to checkout a document using the REST-based CMIS protocol, but I get an error from the server (Alfresco). Am I misusing curl? Or am I missing something in my request? curl --user admin:admin -F "atomentry=@atomentry.xml" http://localhost:8080/alfresco/service/cmis/checkedout With atomentry.xml being: <?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open

Login error to Sharepoint 2013 repository using openCMIS Workbench

谁说胖子不能爱 提交于 2019-12-21 21:39:43
问题 using the OpenCMIS Workbench 0.8.0, I can load the sharepoint 2013 (GA) repositories fine but get the following error when I try to login to one of the repositories such as Documents: "Invalid Argument: One or more of the input parameters to the service method is missing or invalid" Found a blog with some instructions but those didn't work for me: http://dhartford.blogspot.com/2013/01/sharepoint-2013-w-apache-chemistry-cmis.html?showComment=1359398536275#c6910049622927723676 Note: Here is the

How to filter folder children using cmis query?

纵然是瞬间 提交于 2019-12-20 06:06:05
问题 I would like to filter the children of folders from a cmis 1.0 compliant repository with one query. So far that doesn't seem to be possible so I have settled to execute two queries to retrieve the children (i.e. folders and documents), however would still like to filter children by custom types so I have the following query: SELECT cmis:objectTypeId, cmis:objectId FROM cmis:folder WHERE cmis:objectTypeId = 'my:custom1' OR cmis:objectTypeId = 'my:custom2' OR cmis:objectTypeId = 'cmis:folder'

Alfresco CMIS query checking for NULL/Blank

吃可爱长大的小学妹 提交于 2019-12-14 03:58:32
问题 I want to check whether the Aspect property is present or not and if present it should not be blank... On some docs the aspect applied but no properties are populated. On some docs all the properties of aspect are populated but few are blank. I tried below queries.. select * from myType:myCase as d join myAspect:myTest as p on d.cmis:objectId = p.cmis:objectId WHERE CONTAINS(d, 'PATH:"//app:company_home/cm:DROP-FOLDER/*"') AND p:myAspect:caseId = '' I also tried p:myAspect:caseId = <> '' **p

How to create custom property on object using Apache Chemistry

☆樱花仙子☆ 提交于 2019-12-13 19:03:57
问题 I'm working with a local instance of Alfresco CMS and I'm using the Apache Chemistry Java CMIS. Everything works well for browsing and creating objects, however I'm having a hard time adding metadata on documents. There is an example on their source page code saying that you need to call updateProperties on the CmisObject . Unfortunately, this doesn't work, the exception I got stating: Property 'my:property' is not valid for this type or one of the secondary types Do you know how can I add a

Change Log NULL records in CMIS Workbench - SharePoint 2013 SP1

落花浮王杯 提交于 2019-12-12 03:34:54
问题 Change Log show null records when using AtomPub I am using CMIS Workbench 0.13.0 to connect to a SharePoint 2013 server (SP1) via: AtomPub endpoint i.e. http://<host>/_vti_bin/cmis/rest?getRepositories Web Service endpoint i.e. http://<host>/_vti_bin/cmissoapwsdl.aspx DotCMIS 0.7 (similiar problem) session.GetContentChanges(token, True, 1000).ChangeEventList [1/1/0001 12:00:00 AM] Created [1/1/0001 12:00:00 AM] Created [1/1/0001 12:00:00 AM] Created ... Postman (GET) of change log endpoint

How to modify a property of a CMIS document using DotCMIS/OpenCMIS

早过忘川 提交于 2019-12-12 03:02:45
问题 Let's say I have a document doc and I want to update its barcode metadata to "01234" . The document might have existing other properties, I don't want to lose them. In case doc already has a barcode , it will be overwritten. How to do this with DotCMIS/OpenCMIS? 回答1: In CMIS, updating properties will overwrite existing values by default, and properties you don't send along with the updateProperties message are by default retained. That is to say that both your requirements are already

Asynchronous CMIS client: Download or upload several files in parallel with OpenCMIS

天涯浪子 提交于 2019-12-12 00:53:15
问题 The ChangeLog of OpenCMIS 0.14 says: Support for asynchronous operations has been added to the client library. As a CMIS client, how to perform several downloads in parallel, or several uploads in parallel, with OpenCMIS 0.14 or above? My goal is to finish all operations faster, thanks to multithreading. I could share a Session object between several thread manually, but if OpenCMIS has a built-in feature I would rather use it. 回答1: First, create a Session as usual. Then, use this session to

EXTJS 4.2 escape colon (:) in XML Tag for XML Reader

霸气de小男生 提交于 2019-12-11 19:49:23
问题 I am trying to load atom pub CMIS 1.0 binding into EXTJS and the colons in the tags are stopping the XML reader from doing its work. For instance the xml looks like: <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis- open.org/ns/cmis/core/200908/" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:app="http://www.w3.org/2007/app"> <atom:author> <atom:name>system</atom:name> </atom:author> <atom:id>http://chemistry.apache.org/MTAz</atom:id

How to develop CMIS-WIndows explorer integration?

隐身守侯 提交于 2019-12-11 19:37:15
问题 Like WevDAV or CIFS, anyone could tell me how to develop CMIS-WIndows explorer integration? (I'm not intended to an independent application for CMIS browsing) I'm familiar with developing in CMIS but have no experiece in Windows development. Any keyword, API etc. is helpful. 回答1: It looks you describe Windows namespace extensions. Some links: Creating Shell Data Source Objects and Extending the Shell Namespace Specifying a Namespace Extension's Location The Complete Idiot's Guide to Writing