asked on May 29, 2019 Show version history

With Laserfiche SDK 10.2, JRA can retrieve value of a metadata field in Field Group. However, exception thrown when trying to save the FieldValueCollection back to the Entry.

 

JRepositoryAccess (JRA) [JVM]:

Document document;
.
.
.
FieldValueCollection fcv = document.getFields();
fcv.set("Field Group Item", "Testing 321");
document.setFields(fcv);
document.save(); // Exception: Can't find resource for bundle java.util.PropertyResourceBundle, key ERR9538

 

However, there is no such issue with RA .NET.

RepositoryAccess (RA) [.NET]

DocumentInfo documentInfo;
.
.
.
FieldValueCollection fcv = documentInfo.GetFieldValues();
fcv["Field Group Item"] = "Testing 123";
documentInfo.SetFieldValues(fcv);
documentInfo.Save(); // Metadata had been saved.

 

Is there any chance Laserfiche can provide a fix for it? Or the calling sequence between RA .NET and JRA is different?

 

Thanks.

1 0