Java -Oracle UCM无效字段在checkin_universal Action
-
28-09-2019 - |
题
我正在尝试使用Oracle通用内容管理平台上的文档进行检查 IdcClientManager
在Java上。
我一直遇到这个错误:
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)
我尝试了几个选项,包括:
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");
我应该设置什么字段,应该如何设置它以解决此问题?
解决方案
这是如何为检查INS设置默认时间值的说明。
http://download.oracle.com/docs/cd/e14571_01/doc.1111/e10978/c10_content_tracker.htm#csmrc1121
即使这里有很多好的信息,但它并没有真正解决我的问题。
相反,我检查了“管理 - > Admin applet--> Configuration Manager->信息字段”上的最后一个访问字段的参数键。并发现它是ct_lastaccess的。
后来,在调试输出键以进行结帐操作后,实际键是xct_lastaccesscess。
要获取有效的日期格式,我使用了date_format字段 oracle.stellent.ridc.model.impl.DataObjectEncodingUtils
.
然后它起作用。
不隶属于 StackOverflow