Gerald Clerc
Gerald Clerc

Reputation: 15

Retrieve column value in xpages view

I have a view control showing documents with an external url in document fieldA. How can I write a onclick Event to open this URL? Thanks for help.

Upvotes: 1

Views: 361

Answers (1)

Steve Zavocki
Steve Zavocki

Reputation: 1840

In your view column choose a content type of HTML.

enter image description here

In your view add a column that formats the link using the tag. Make this column hidden in the Notes client (if you use it there). Then show this view column in your view control with the content type set to HTML.

Because you are using HTML, you don't need to have an onClick event per say, although the effect is the same.

Upvotes: 2

Related Questions