Archive for Декабрь 5th, 2008
Workaround formats bulleted/numbered lists in Lotus Notes documents
Many Lotus Notes Domino administrators can be frustrated with some limitations when using bulleted and/or numbered lists in Lotus Notes, specifically that a list restarts when you add a blank line. This workaround lets you maintain the proper order in your formatted lists in Lotus Notes.
Original source : http://feeds.feedburner.com/~r/techtarget/Searchdo…
LotusScript accesses clipboard to view copied Notes documents
Find out how to access copied Lotus Notes documents on your clipboard with this downloadable LotusScript code. This tip is helpful when using queryPaste events to determine what content is being pasted into a Lotus Notes database.
Original source : http://feeds.feedburner.com/~r/techtarget/Searchdo…
LotusScript action button manages Lotus Notes mail files
This LotusScript code creates an action button that, when applied to any view or folder in Lotus Notes mail files, makes mail file management easy. Using a single action button, Lotus Notes Domino users can easily manage their mail files, investigate file sizes, get quota details, delete attachments and empty message trash bins.
Original source : http://feeds.feedburner.com/~r/techtarget/Searchdo…
grab category docs from a database ( shorten your code )
Function GetCategoryDocsFromDb( db As NotesDatabase, viewName As String, category As String ) As NotesViewNavigator
‘ returns all docs from a given category
‘ posted to http://www.openntf.org/projects/codebin/codebin.nsf/CodeBySubCategory/16B4DEA132579F6D862574EF00630D42
‘ written by Mike Mortin Dim view As NotesView ‘ get the view
Set view = db.GetView(viewName) ‘ get the docs from the cateogry
Set GetCategoryDocsFromDb = view.CreateViewNavFromCategory( category )
End Function
Original source : http://www.openntf.org/projects/codebin/codebin.ns…
grab a document from a database ( shorten your code )
Public Function GetDocFromDb( db As NotesDatabase, viewName As String, key() As Variant, exact As Boolean ) As NotesDocument
‘ returns the first doc based on a search key
‘ posted to http://www.openntf.org/projects/codebin/codebin.nsf/CodeBySubCategory/D8474BE8C4FEEB35862574EF00628013
‘ written by Mike Mortin
Dim view As NotesView ‘ get the view
Set view = db.GetView(viewName) ‘ get the doc from the key
Set GetDocFromDb = view.GetDocumentByKey(key, exact)
End Function
Original source : http://www.openntf.org/projects/codebin/codebin.ns…
returns a date the document/email should be considered created
Public Function GetEmailCreatedDate(doc As NotesDocument) As String
‘ returns a date the document/email should be considered created
‘ posted to http://www.openntf.org/projects/codebin/codebin.nsf/CodeBySubCategory/1D9C645C986EAF74862574EF0061CBBB
‘ written by Mike Mortin 20080625
If doc.DeliveredDate(0) <> "" Then
GetEmailCreatedDate = doc.DeliveredDate(0)
Elseif doc.PostedDate(0) <> "" Then
GetEmailCreatedDate = doc.PostedDate(0)
Else
GetEmailCreatedDate = doc.Created
End If
End Function
Original source : http://www.openntf.org/projects/codebin/codebin.ns…
Enabling Drag and Drop on a Calendar in a Browser
Original source : http://www.openntf.org/projects/codebin/codebin.ns…