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

A very useful undocumented Domino URL command

Category

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:
http://www.iminstant.com/iminstant/iminstant.nsf/d6plinks/CTYR-7GZK8S/EntryRICH?OpenField

Where the format is:
Server/databasefolder/databasename/view/LookupKey/RTFFieldName?OpenField.

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.

Comments

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.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::rolleyes:;-)