SubjectItemName (Newsletter - Java)

Read-Write. For a newsletter document created using the formatMsgWithDoclinks method, indicates the name of the item on the documents of a newsletter that contains the text you want to use as a subject line.

Defined in

Newsletter

Data type

String

Syntax

public String getSubjectItemName()
    throws NotesException
public void setSubjectItemName(String name)
    throws NotesException

Usage

This property has no effect for a newsletter document created using the FormatDocument method.

This property must be used in conjunction with the IsDoSubject property. For example, if the IsDoSubject property is true and SubjectItemName is "Subject," then the newsletter contains the contents of each document Subject item next to the document link. If the IsDoSubject property is false, the SubjectItemName property has no effect.

You must set both SubjectItemName and IsDoSubject before calling formatMsgWithDoclinks.

Example