Skip to Content
0
Former Member
Apr 01, 2009 at 09:36 AM

Reg: Inserting MDM field of type Date

28 Views

Hi,

I am using MDM java API to insert record into MDM repository. I want to insert a field of type date.

I am using the below code.

newRec.setFieldValue(fields[2], new DateTimeValue(wdContext.currentContextElement().getDOB_personal().));

it is giving me error that the costructor DateTimeValue(Date) is undefined.

Kindly suggest.