Java - CHECKIN_UNIVERSAL 操作中的 Oracle UCM 字段无效
我正在尝试使用 Java 上的 IdcClientManager
签入 Oracle Universal Content Management 平台上的文档。
我不断收到此错误:
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");
我应该设置什么字段以及如何设置它来解决这个问题?
I am trying to check in a document on Oracle Universal Content Management platform with IdcClientManager
on Java.
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下说明了如何设置签到的默认时间值。
http://download.oracle.com/docs /cd/E14571_01/doc.1111/e10978/c10_content_tracker.htm#CSMRC1121
尽管这里有很多好的信息,但它并没有真正解决我的问题。
相反,我检查了“管理 -> 管理小程序 -> 配置管理器 -> 信息字段”上“上次访问”字段的参数键。发现它是CT_LastAccessed。
后来,在调试用于签出操作的outputBinder时,实际的键是xCT_LastAccessed。
为了获取有效的日期格式,我使用了
oracle.stellent.ridc.model.impl.DataObjectEncodingUtils
中的 DATE_FORMAT 字段。然后就可以了。
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
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.
Later, upon debugging the outputBinder for checkout action, the actual key is xCT_LastAccessed.
To get the valid date format I used the DATE_FORMAT field in
oracle.stellent.ridc.model.impl.DataObjectEncodingUtils
.then it works.