I am using NotesRichText::AppendRenderedDocument to place a copy of a document into a RichText Item. I noticed that when I look at the rendered document, my name and todays date is in one of the fields that is Computed When Composed. Is this creating a new copy of the document when it is rendered and therefore calling Compute When Composed? Any way to get around this?
…if the item doesn’t already have a value. This might occur, for instance, if the document you’re rendering was created before the fields were added to the form.
This is an existing document that does have data for those fields. It appears that when I call RichText::AppendRenderedDocument, it creates a new copy which then triggers the CWC fields. The original doc has someone else name and the new doc with the rendered doc has my name in that field. Any idea how I can get that complete document into a RichText Item so I can export to a cd record. I thought that a document was a Rich Text object in itself. Can I do something with it in those terms in the C api?
Subject: By the way I’ve never heard of the method or class you mention
so perhaps you should check your code – maybe even post your code – and anyway accurately describe what you’re doing, so someone can see what you’re doing wrong. I assume you’re actually using Document.renderToRTItem. I’ve never heard of this behaving as you describe.