Want to view the latest document on the click of hotspot

Hi, I want to view the latest document from the view on the web-page when I click the News Button…

Can anyone tell me how to do this …it’s urgent so please reply asap

Any help would be highly appreciated

Thanx

Regards

Kanishka

Subject: want to view the latest document on the click of hotspot

you can do it by making the first column of the view sorted descending by @modified

on click of the button call an agent

location.href = “/agentname?OpenAgent”

scripting use the code to get first document and

use

print {}

HTH

Keshava