
Joining in on the fun..
Make your own
My useful and useless experiments with Lotus Notes / Domino
document.getElementById('your-id-in-the-button').click()
Function WebFilePath( db As NotesDatabase ) As String
Dim view As NotesView
Set view = db.Views(0)
Dim viewDoc As NotesDocument
Set viewDoc = db.GetDocumentByUNID( view.UniversalID )
WebFilePath = Join( Evaluate( |@WebDbName|, viewDoc ) )
End Function
Function printPath(resultDoc As NotesDocument) As String
Dim dbpath As String
dbpath = Join( Evaluate( |
@ReplaceSubstring(@DbName[2];"\\";"/")|,resultDoc))
printPath= "/" + dbpath + "/0/" + resultDoc .UniversalID
End Function
2009 All Rights Reserved DontPanic - a blog about Lotus Notes / Domino.
Free Blogger Templates by DeluxeTemplates.net • Wordpress designed by Acosmin