Earlier today, I attempted what I thought was going to be an easy task…
I have a simple xPage application, with a form that contains two fields: A title and a richtext body.
I wanted to create a document, give it a title, and embed a Youtube video into the the richtext field.
No problem, I grabbed the necessary HTML for the Youtube video (heaps of great tips from Tips in Two on Youtube), pasted it into the richtext field, and tagged the whole lot as pass-thru HTML.
Normally, that’d be it - The HTML would be rendered by the Domino server, and the video would appear in the body of the document on the web.
However, when I access the document on the web, absolutely nothing appears in the document body. I checked the page source, and none of the embedded pass-thru code is there at all.
I know that it is not hidden
There’s nothing additional in the design that would hide the content programmatically
I have embedded the code directly into the xPage source itself, and it renders perfectly well. It must be something about rendering a richtext field that contains pass-thru HTML.
I know there must be something blatantly obvious that I have overlooked, but I just can’t figure out what it is.
Is there anyone who can steer me in the right direction?
Thanks very much for any/all advice!
T.