My Oracle Support Banner

How to Pass a Null Value to a Date Type Field using the Imaging API (Doc ID 2714073.1)

Last updated on SEPTEMBER 29, 2020

Applies to:

Oracle WebCenter Content: Imaging - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

Getting error 'Value does not match the field datatype' when passing null value to date type field.

Customer is using the Imaging API to update metadata field values of documents that are already present in Imaging. In one scenario, the requirement is to update a document's date field value to null when there is a preexisting valid date value.

The two following lines of code both failed in testing:

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.