I currently have some code which takes a richtext field from a document, in the form of a notesitem, called “body”. I then want to put the contents of “body”, into a richtext field on a new document, called “body2”.
I can do this by using doc.copyitem(body, “body2”), however the text formatting in “body2” is being dicated by the formatting in “body”. I have tried setting the font and font colour in designer for the “body2” field, but it is overwritten when I use copyitem.
All I want to do is take the formatted text (and attachments if present) from “body”, and paste these into “body2”, with all text being red.
I have appended a notesstyle to Body2 with no luck
Thanks