How can I build a definition list <DL> from a view

I am trying to build a definition list from a view, but I am having a few problems.

First when I set the view to “Treat contents as HTML”, it generates a

tag just before listing the values, I don’t want this in the list.

Second, I can’t select both “Treat contents as HTML” and “Allow selection of documents”. This wouldn’t be a problem if I knew a way to build the anchor tag myself. Is there an @ function that will return the Document ID in a column formula?

Subject: Generating HTML from a view…

You don’t say much about how you’re using this view in your application. Is there a view template, or other for on which it’s embedded? If the form is not set to render as HTML, Domino will try to convert it into HTML for you instead of just sending the text on the form to the browser. That’s where the

element is coming from – not from the view.

The @Function you’re looking for is @DocumentUniqueID.

Subject: Almost got it

Thanks, I got the URL built, but now I would like to get rid of the extra

tag that is being generated. The view is embedded in a view template. The Web Access output type is Notes. If I change that to HTML, I loose everything in the $$HTMLHeader field which is where my styles are being added. Is this the property you are talking about?

Subject: Yes, that’s what I’m talking about.

Basically, you can’t have it both ways. Either Domino renders the form into HTML for you – in which case you don’t have a lot of say in the exact elements it puts out – or you provide the complete HTML as the form contents. Just take your $$HTMLHeader and make it a visible computed for display field at the appropriate spot on the form.