简体   繁体   English

Java-CHECKIN_UNIVERSAL操作处的Oracle UCM无效字段

[英]Java - Oracle UCM invalid field at CHECKIN_UNIVERSAL action

I am trying to check in a document on Oracle Universal Content Management platform with IdcClientManager on Java. 我正在尝试使用Java上的IdcClientManager在Oracle Universal Content Management平台上签入文档。

I keep getting this error: 我不断收到此错误:

oracle.stellent.ridc.protocol.ServiceException: Content item 'ada' was not successfully checked in. The field 'Last Accessed' does not contain a valid date.
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:116)
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:92)

I tried several options including: 我尝试了几种选择,包括:

inputBinder.putLocal("xLastAccess","11/27/10 12:13 PM");
inputBinder.putLocal("xNoLatestRevisionDate","11/27/10 12:13 PM");
inputBinder.putLocal("xCT_LastAccessed","11/27/10 12:13 PM");

What field should I set and how should I set it to work around this problem? 我应该设置哪个字段,如何设置它以解决此问题?

Here is an explanation how to set up a default time value for check ins. 这是有关如何为签入设置默认时间值的说明。

http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10978/c10_content_tracker.htm#CSMRC1121 http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10978/c10_content_tracker.htm#CSMRC1121

even though there is a lot of good information here, it did not really solve my problem. 即使这里有很多有用的信息,也并不能真正解决我的问题。

Instead I checked the parameter key for the Last Accessed field on "Administration -> Admin Applets -> Configuration Manager -> Information Fields." 相反,我检查了“管理->管理员小程序->配置管理器->信息字段”上“上次访问”字段的参数键。 and found out that it is CT_LastAccessed. 并发现它是CT_LastAccessed。

Later, upon debugging the outputBinder for checkout action, the actual key is xCT_LastAccessed. 稍后,在调试outputBinder以进行检出操作时,实际的密钥为xCT_LastAccessed。

To get the valid date format I used the DATE_FORMAT field in oracle.stellent.ridc.model.impl.DataObjectEncodingUtils . 为了获得有效的日期格式,我使用了oracle.stellent.ridc.model.impl.DataObjectEncodingUtils的DATE_FORMAT字段。

then it works. 然后就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM