Is it possible to switch forms in order to fill in a form and insert an attachment into a field, then switch back again (saving the document) without saving the document as the switched form name (ie: it disappears from the view as soon as it saves.
This is my feeble attempt to get round notes notorious RTF problem, where you can't insert an attachment into a dialogbox and then make it visible when the dialog box is closed. (you have to close the document and open it again in order to see the attachments.)
If there's a better way of dealing with attachments in RTF's please let me know??
There's currently no better way than to (1) save the document, (2) close the document, and (3) re-open the document. There is a new method of the NotesRichTextItem class in R6, called Update, that looks promising, but I've not used it for anything yet. The help file for R6 says that the only way to update the RTF on a Uidoc is still to open and close, but the help file is still beta, so it might not be correct, yet.
Dig Deeper on Domino Resources
Related Q&A from Todd Fuder
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.