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


Data type



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


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.