« Buddylist Control updated, version 1.1 posted. | Main| I'm not a parent, but come on.. »

A very useful undocumented Domino URL command


The other day in the IBM Business Partner Forum (I checked the permission's it said this could be published), someone casually mentioned that there is an undocumented URL command "?OpenField".

What this URL command does, is return the HTML rendering of a specified Rich Text Field, with no head, no body tag etc.  So for example, if you were take one of the blog entries here, which are stored in a Domino database, the Rich Text I write is stored in a Rich Text Field "EntryRICH"  so if I wanted just the HTML from that field for a blog entry last week, I would enter something like:

Where the format is:

Why is this helpful, well I think there are a number of opportunities this provides, one is to extract out RTFs as HTML programmatically very easily, without having any LotusScript or Domino knowledge.  It makes retrieving information from RTFs to use with AJAX very easy.  I;m just getting my head around this Command, but I think it's one we'll see people use more and more.


Gravatar Image1 - Carl!
That is just SO timely you would not believe it! Thanks to you and the "casual mentioner" A+, gold star to you both!

Gravatar Image2 - This may save me from around 8 hours work.
Big Thanks You Emoticon

Gravatar Image3 - Awesome! About 3 weeks late for me but great nonetheless.

Gravatar Image4 -
FSCK ME! I've wanted this exact syntax for at least 5 years. The amount of work I've had to do to get this functionality is just plain sick.

Gravatar Image5 - does not this represent a security hole? One of my assumptions of web forms is that you can protect data you don't want a particular user to see by using computed subforms. Yipes.

Gravatar Image6 - Hi,

I have used this method in a RT field to extract the content through ajax and everything was working fine until I entered the following character (as a part of german content) in my RT field.


After saving a document that contains the above character in its RT field, when I try to get the field's HTML through ajax it is showing "not well formed" error in Firefox with � is being shown instead of ü

Any idea about this issue?

Gravatar Image7 - Cool stuff. Publish more nice secrets like this

Gravatar Image8 - Thank You for one of the best tips I have ever seen. I only wish I had known about this for the past 6 years or so as it would have saved me a XXXX-load of work.
One of the most common things users ask for in Notes/Domino applications is a preview-function. Using this technique will make that so much easier.

Gravatar Image9 - Ohmygawd - thank you so much. I can't believe I've never noticed this before.

Post A Comment