: 4582 | 108584 | 12352

Add GetHTML Method to NotesRichTextItem Class 
New idea submissions, commenting and voting are no longer available on this site. Logins have also been disabled.
Use this IdeaSpace to post ideas about Domino Designer.

: 116
: 116
: 0
: Domino Designer
: richtext, html, lotusscript
: Sean Burgess5201 09 Nov 2007
:
: / Email
We already have GetFormattedText and GetUnformattedText, but what would really be helpful is to have a method that spits out the contents of a Rich Text field as HTML.  It should be no more and no less than what happens when you send an email to an outside user.  That's not asking for too much, is it?



1) Dan Sickles1710 (09 Nov 2007)
No, it's not ;-)
2) Ben Langhinrichs7009 (27 Nov 2007)
Part of the problem is that when you send an e-mail to an outside user, it is not HTML, it is MIME, which includes HTML, but also includes separate parts for images and attachments as well as the HTML part. As Sean probably knows, our Midas Rich Text LSX (see { Link } ) has offered this ability for years, but the devil is in the details. We have to allow you to specify whether the images and attachments will be referred to "in place" or exported along with the HTML or sent as MIME parts. All of this is not to say that the functionality should not be in the core product, it most likely should be, but that it is a bit more complex than just adding a GetHTML method.
3) Sean Burgess5201 (20 Dec 2007)
I am not looking to be able to do more than be able to display the contents of a richtext field in a browser just like it would if a form containing that richtext field were used to view the document. I know this is already part of the Domino HTTP engine since I have a number of read only forms that display richtext data great. But when I want to create a report or just send data back to a AJAX request, I would love to be able to easily just send back the code that would be generated by the Domino server if I was using a form instead of an agent.
4) Nick Radov1333 (27 Jan 2008)
I asked some of the IBM developers about this at Lotusphere. There are existing C API functions for HTML rendering. Unfortunately, that API is kind of messy and relies extensively on callbacks. They have made two attempts so far to design new Domino Object Model classes to wrap around that HTML C API but weren't able to come up with anything satisfactory.
5) Bruce Lill6687 (28 Feb 2008)
If you set the fields to store as html/mime you can pull it as mime content. The RTF field works a little different then but it works. I use this to let users enter help for the web into a rtf field, pull the html and store in a text field to allow for clean up. I have code to remove all font tags.










:
:




Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>






IdeaJam developed by

Elguji Software Logo