2016-03-03 65 views
0

更改日志显示空记录使用AtomPub的

我使用CMIS Workbench 0.13.0连接到通过SharePoint 2013服务器(SP1):在CMIS工作台更改日志NULL的记录 - 的SharePoint 2013 SP1

AtomPub的端点

http://<host>/_vti_bin/cmis/rest?getRepositories enter image description here

Web服务端点

http://<host>/_vti_bin/cmissoapwsdl.aspxenter image description here

DotCMIS 0.7(类似的问题)

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 ...

邮差更改日志端点(GET)返回有效的结果

样品

http://<host>/_vti_bin/cmis/rest/<repo-guid>?getContentChanges&changeLogToken=1;3;<repo-guid>;635919759698870000;11627;02/25/2016 05:46:10&includeProperties=true&includePolicyIds=false&includeACL=false&maxItems=1000

<object xmlns="http://docs.oasis-open.org/ns/cmis/restatom/200908/"> 
    <properties xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"> 
     &lt;propertyId propertyDefinitionId="cmis:objectId" localName="cmis:objectId" displayName="cmis:objectId" queryName="cmis:objectId" xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt; 
      &lt;value&gt;129&lt;/value&gt; 
     &lt;/propertyId&gt; 
     &lt;propertyId propertyDefinitionId="SiteId" localName="SiteId" displayName="SiteId" queryName="SiteId" xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt; 
      &lt;value&gt;(item-guid)&lt;/value&gt; 
     &lt;/propertyId&gt; 
     &lt;propertyString propertyDefinitionId="ChangeToken" localName="ChangeToken" displayName="ChangeToken" queryName="ChangeToken" xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt; 
      &lt;value&gt;1;3;(repo-guid);635919759698870000;11627;02/25/2016 05:46:10&lt;/value&gt; 
     &lt;/propertyString&gt; 
     &lt;propertyString propertyDefinitionId="ChangeType" localName="ChangeType" displayName="ChangeType" queryName="ChangeType" xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt; 
      &lt;value&gt;Add&lt;/value&gt; 
     &lt;/propertyString&gt; 
     &lt;propertyDateTime propertyDefinitionId="Time" localName="Time" displayName="Time" queryName="Time" xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt; 
      &lt;value&gt;2016-02-25T05:46:10Z&lt;/value&gt; 
     &lt;/propertyDateTime&gt; 
    </properties> 
    <changeEventInfo xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"> 
     &lt;changeType xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt;created&lt;/changeType&gt; 
     &lt;changeTime xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"&gt;2016-02-25T05:46:10Z&lt;/changeTime&gt; 
    </changeEventInfo> 
</object> 
+2

您是否安装了2016年2月的SharePoint CU?微软提供了与此更新相关的CMIS相关的一些错误修复。 –

+0

谢谢,更新修复了更改日志错误! – SimplyInk

回答