You are viewing limited content. For full access, please sign in.

Question

Question

SDK locking, and then renaming a document

SDK
asked on April 2, 2015

I'm using the SDK to lock a document, update it with new pages, set template fields, and then change it's name and move it to a new folder. I'm running in to problems with renaming and changing folders: I will get an exception similar to "the entry is locked and cannot be modified, or the object needs to be refreshed before it can be updated". I tried altering the order of operations a bit, but I seem to get the same exception, always at the rename or "move to new folder" stage.

I guess my first question is: is renaming a document (ILFEntry.setName) even supported if it is locked?

0 0

Replies

replied on April 2, 2015

This is a bug in LFSO, when you rename an entry it incorrectly loses its internal lock token. See https://support.laserfiche.com/KB/1013609 for an updated LFSO with the fix, it is issue 123562

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.