Lotus Notes Get entire text of New Document including the Parents
Posted on 2013-12-10
In the email application, user selects an existing email in the INBOX folder.
The chooses REPLY, this opens a NEW document. I need to extract the ENTIRE text from the NEW Document prior to sending to check for bad words.
I can get the current text for the NEW Body, Subject and Attachments just fine. But I am unable to get the REST of the NEW Document that I can see with my eye balls.
I have tried many things, the closest that I have come is using doc.GetItemValue("$Abstract")(0), however this only returns the first 100 chars of the FIRST Parent.
How can I extract the ENTIRE text? I don't care if it is ugly, at this point. Also, I am unable to SAVE the new document as my code runs in the QuerySend() Function of the REPLY Form. I know some have suggested saving the document. I get an error about nesting.
Thank you in advance. I know someone has done this before.