I have a document and I need to display its BodyE on the web. I can view the Title and the WebStatus but I cannot see the BodyE. From the code bellow maybe you can tell me if I have done something wrong. Thanks
Print ||
Print |</HEAD>|
Print |<BODY>|
Print |<H1>| & PLNname & |</H1>|
Print |<HR>|
Set moddoc=view.GetDocumentByKey(modname)
.
.
.
Print |<H2>| & PLNdoc.Title(0) & |</H2>|
Print |<H2>| & PLNdoc.WebStatus(0) & |</H2>|
Set rtitem=PLNdoc.GetFirstItem("BodyE")
StringHTML= rtitem.GetUnFormattedText
outString=strReplace(StringHTML,Chr$(13),"<BR>")
’ Print outString ‘ Tried this not working
Print |<H2>| & moddoc.GetFirstItem("BodyE").text & |</H2>| ‘ Tried this not working
.
.
.
.
.
Print |</BODY>|
Print |</HTML>|
thanks
P.