Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Use the NotesNewsLetter class and FormatMsgWithDoclinks method
~Umberto Nongeroson 22.Sep.03 07:28 PM a Web browser
Notes Client All Releases All Platforms



LOTUSSCRIPT/COM/OLE CLASSES

FormatMsgWithDoclinks method

Example

Creates a newsletter document in the given database that contains a link to each document in the newsletter's collection.

Defined in

NotesNewsletter

Syntax

Set notesDocument = notesNewsletter.FormatMsgWithDoclinks( notesDatabase )

Parameters

notesDatabase

The database in which to create the newsletter document. If you do not specify a notesDatabase, the document is created in the user's default mail database.

Return value

notesDocument

A document that contains a link to each document in the newsletter's collection; also contains the name of notesDatabase and the text of the original query that produced the collection, if any.

Usage

The Body item of the returned notesDocument contains the following:

  • The file name of the database that contains the documents in the newsletter collection.
  • A link to each document in the newsletter collection.
  • If the collection is sorted and the DoScore property is True, the relevance score of each document.
  • If the DoSubject property is True and the SubjectItemName property has a value, a title for each document. You must set these properties before calling the FormatMsgWithDoclinks method.
  • The query that produced the newsletter's collection.

If you want to save the newsletter, you must explicitly call the Save method on the NotesDocument. The document is saved to the notesDatabase you specify.

If you want to mail the newsletter, you must explicitly call the Send method on the NotesDocument.

The target database must have a default view or the following occurs: "Notes error: Special database object cannot be located."

Language cross-reference

formatMsgWithDoclinks in Java Newsletter class

Example
See Also
DoSubject property
DoScore property
Making a Domino newsletter
NotesDatabase class
NotesDocument class
Save method (in NotesDocument)
Send method (in NotesDocument)
SubjectItemName property




SPAM filter (~Judy Kifooskii... 22.Sep.03)
. . Use the NotesNewsLetter class and F... (~Lisa Lopresach... 22.Sep.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS