I have a java agent which uses the Document.replaceItemValue method. it works for one item, but all others. Why?
Here is part of codes:
DateTime dt = session.createDateTime(“Today”);
dt.setNow();
dt.adjustDay(14, true);
pdoc.replaceItemValue(“idDeleteDate”, dt);
////This one works ////////
pdoc.replaceItemValue(“TEST”, “TestValue”);
////This one doesn’t work//////////
pdoc.save();
Subject: Java - replaceItemValue some work, soem doesn’t
is there any other code between the two replaceitemvalues?
Subject: RE: Java - replaceItemValue some work, soem doesn’t
No. There is not. Even I added more replaceitemvalues statements before that. No one works except that specific one.
Subject: Sorry, Please ignore this problem.
Actually there is a space prior to the item name. It did work. Due to the space, it sorts difference.
Closing…