Translation

Publicidade

Granjuxx
Serviços profissionais em informática. Sites para microempresas com valores especiais. Confira.
Hostnet
Hospedagem de site a partir de R$ 9,90 com 30 dias grátis e ativação imediata. Registro de domínios.


Anuncie seu negócio conosco.

Relatório público de audiência XHTML valid

Home Dicas Técnicas A very useful undocumented Domino URL command

Rede Social

A very useful undocumented Domino URL command PDF Imprimir
Avaliação do Usuário: / 0
PiorMelhor 
Escrito por Bruno Grange   
Ter, 21 de Abril de 2009 10:21
he 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.
 

Comentar


Código de segurança
Atualizar