IBM Support

Invalid date format error from IBM Content Manager OnDemand (CMOD) ODWEK Java API ODFolder.storeDocument()

Troubleshooting


Problem

How to get rid of the error of invalid date format when calling ODWEK API ODFolder.storeDocument() to store a document in CMOD?

Resolving The Problem


The error of invalid date format may occur under below conditions:

  • If a value is set in the Display Format in the folder field, and the supplied value does not match this Display Format.
  • If a value is not set in the Display Format in the folder field. and the supplied value does not match the field format. For example, a value in date format is supplied to a date/time field.

[{"Product":{"code":"SSEPC6","label":"Content Manager OnDemand Clients"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Other","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0;9.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 June 2018

UID

swg21976520