I am trying to get a ls agent to detach a file from a document that was encrypted using SecretEncryptionKeys. When the script runs, I get the message: “Notes error: You must supply the bulk decryption key in order to extract this file object”. I am running the agent from an ID that does have the key, and the embeddedobject.extractFile method does not have any parameter to pass a key in. Does anyone know of a solution/workaround?
Subject: Detaching encrypted objects in LotusScript
Hi John,
Did you ever get a resolution on this. i am having the exact same error. One thing i did notice is that when i debug the script and step into the line that errors - it works!