I am writing test code to update metadata on an LF document. While LF has little or no Java sample code, I have translated C# code from the help file. My snippet:
Entry entry = row.toEntry(); //where the row represents my document FieldValueCollection fvc = entry.getFields(); fvc.set("Article", "obstructions and excavations"); entry.lock(LockType.EXCLUSIVE); entry.setFields(fvc); entry.save(); entry.unlock();
I confirmed I am not running a readonly session (session.isReadOnly=false) and that I have rights (full gamut of effective rights, yet when I get to the save line I throw a MultiStatusException with a long message starting with "access denied".
Any insights as to how to get around this?