asked on October 15, 2015
•
Show version history
We are having an issue with date and date/time field update with SDK9.2. Using JRA:
Document result = Document.create(...);
DateFormat format = new SimpleDateFormat("MM/dd/yyyy");
Date date = format.parse(oPropValue);
FieldValueCollection fvc = result.getFields();
fvc.assignTemplate(sometemplate);
fvc.set(oPropName, date);
result.setFields(fvc);
result.save(); --> Error bad field value.
Any answer is appreciated.
Thank you
0
0