Clickable Link in a view Column

I’m trying to build a view that has a column that containsa URL for different websites. I want the user to simply be able to click on the link and not have to open the form.

I have read in the forum to make the data in the field for the column read :

<a href="www.websitename.com">www.websitename.com (with square brackets around)

and selected the “Show values in this column as links” in column properties.

This appears correctly when I open the view, but when I select the web site link, it opens a brower and gives an error

the URL is "http://localhost/“www.websitename.com”/

It either shows localhost when running from a local machine or the servername if running from the server. How can I get rid of “localhost” or what am I doing wrong.

Thanks in Advance!

After I resolve this… I need to do the following:

Anyone know how to make a column contain a .pdf file and be able to open the .pdf without opening the view?

Subject: Clickable Link in a view Column

Turn off the “Show values in this column as links” setting for your clickables. You are already creating a link – you certainly don’t want Domino to wrap a link to the document around your link.

The column can never “contain” a pdf file, but it can sure enough link to them if they’re attached to the document:

allFiles := @AttachmentNames;

pdfStubs := @Trim(@LeftBack(allFiles;“.pdf”));

pdfFiles := @If(pdfStubs = “”; “”; pdfStubs + “.pdf”);

@If(pdfFiles = “”; “”; @Implode(“[” + “<a href="0/” + @Text(@DocumentUniqueID) + “/$File/” + pdfFiles + “>” + pdfFiles + “]”; “
”))

Subject: RE: Clickable Link in a view Column

Hi There,

Follow Stan’s advice (always very sound). But you may also need to include http:// in the a href for links external to your server.

Cheers,

Mark

Subject: RE: Clickable Link in a view Column

Thanks, Mark – I missed that bit. Good pick-up. It’s not a matter of “may also need” – it’s an absolute must.