Rich Text and HTML

Is there an esay way to append html to the bottom of a Rich Test paragraph that is in the Body field ?

ie Example

Rich Text Paragraph

Would like to append html

.......

....

Subject: Rich Text and HTML

Do you want it imported as HTML, or converted to the rich text equivalent?

Subject: RE: Rich Text and HTML

Ben - I guess I was not clear in my initial request… I wanted to know if you could have the Body field of a document contain BOTH Rich text and Mime… ie the intent would be to use the Stream method to place HTML content so that a Notes Client could display BOTH the RIch text and HTML (MIME) content when viewing. If the Document has a Body Field - I am able to create the Mime (HTML) content, but do not seem to be able Append/Add Rich Text to the field as I get a Mismatch on Type error.

My other thought was to create multiple Body fields using AppendItemValue.

Hope this makes sense

Subject: RE: Rich Text and HTML

You can’t have both rich text and MIME in the same field. No way at all, as the field has to be one type or the other.

Now, in ND6 you can have pass thru HTML show up as if it were rich text, which would probably just mean turning the PassThru HTML attribute on and putting the HTML in as text. Not sure how that works in rich text fields as opposed to on a form, but I’ll play with it and find out. Should make a good blog article.

Subject: RE: Rich Text and HTML

Ben - if I do as you suggest … ie turn on the Psss Thru attribute. the HTML just gets rendered as text … I really want the Notes Client to “execute” or “format” the HTML commands so they appear as though they were Rich text…

Can you explain how Multiple Body fields in a document work… ie I see Notes creating several body fields and I was thinking I could potentially use one field for Rich Text and the second for HTML. The question is when viewed… will the Notes Client append these to make them look like one BOdy Field ??

thanks,

Subject: RE: Rich Text and HTML

No!

The only reason multiple Body items show up is because Notes does not allow items to be larger than 64kb, so it breaks them. I know the parts are not always that large, but that is the reason. The different parts cnnot be different types, unless you want to cause a spectacular crash of your Notes client (I play with the API a lot, so I have tried it).

I have not had a chance to look into the passthru html issue. I’ll let you know what I find out. You are correct that normally it will just show as text, but I though in ND6 there was a setting to let this show as if it were rendered.