we are not able to update the backend documents. We have written below code for this one.doc is handle of backend document.
doc.editmode=True
Call doc.computeWithForm(True, False)
Call doc.Save(True,False)
doc.editmode=False
Any idea ??or Is this the correct way ?
Thanks
Subject: update backend document
EditMode is a property of the NotesUIDocument
You do not need to have the document in edit mode for ComputeWithForm to run
Subject: RE: update backend document
Thanks Mike ,I have commented edit mode but still backend document is not updated.It contains a shared field and if we are are doing manually then it is happening fine.
Any advice.
Subject: RE: update backend document
Computewithform does not update computed fields…
OK, so I know it normally does, but I have a feeling the gotcha is with shared fields. If you check the documentation for computewithform it doesn’t claim to be able to do it in any circumstance.
I think you just need to write the code to update the field manually