How can I sign a Controlled Access Section with LotusScript?

I have an agent that calls doc.ReplaceItemValue(“Fn”, “value”) where those fields are “Sign if enabled…” and are placed in a Controlled Access Section on the form.

After changing the values, I call doc.computeWithForm(true, false), doc.sign() and then doc.save(), but when re-opening the documents in the UI, I get the dreaded “Bogus Signatures Dudes!” error message. This is because the section was not actually signed when I called doc.sign().

How do you programmatically sign a Section of a document after your programmatically change field values that are contained in that section’s signature stuff? Obvious googling isn’t showing anyone talking about this.

Subject: section

There is none api to sign a section.Try to find the problem…

What if these field in not in a section ? any error ?

Regards

Tamir Ben Shoshan

http://www.systbs.com

SharePoint & Lotus plugins & Notes CAPI