I have a dataview on an xpage that points to a database view on different server. I am able to open the record.Instead of opening the record I want to launch the attachment in that record from the view.
The URL for the record in the view is: http://servername/home.nsf/manual.xsp?databaseName=baseservername!!dc.nsf&documentId=D28E5520C520062885257862006697AE&action=editDocument
I would like to get this URL of the view entry from a function in SSJS and then parse the base server name,database name,document ID and create a URL like this
Any tips on how to get the URL of the record? Also can the imbmmodres launch the attachment instead of downloading?