Rule.Directory

Populates the TO, CC, and BC fields in rules from the GroupWise Address Book. This action opens the GroupWise Address Book and must be specified as a subcommand of the Rule.Action action.

Parameters

In addition to the parameters used by Directory.List, it might be helpful to pass the Compose.id into the process (template) doing the directory so that it will be available for adding recipients to the directory.

Rule.Directory (Required)

Specifies the required action.

Compose.id (Required)

Specifies the identifier of the rule item, as returned from Rule.CreateType or Rule.Read.

User context (Required)

Specifies the context identifier for this user's session.

Return Values

Returns to the rule template. Information that has been added to the rule fields is returned.

Value

Description

Folder.id

Move items to this folder.

Folder.drn

Move items to this folder.

Item.bc

List of BC recipients.

Item.cc

List of CC recipients.

Item.message

Message text.

Item.subject

Message subject.

Item.to

List of TO recipients.

RuleCondition

Type of condition: Contains, Does Not Contain, Begins With, Matches.

RuleConditionfield

GroupWise field used for rule comparison: From, Message, Subject, To.

Rule.Condition.text

Comparison text for the rule condition.

Rule.drn

Unique identifier of the rule.

Rule.name

Rule name.

Rule.replyTo

0 = Reply to Sender, 1 = Reply to All.

Rule.subjectPrefix

Prefix for the subject field: Fwd:, Re:.

Rule.type

Rule type: Delete, Forward, Move to Folder, Reply, Vacation.

Example

<FORM method=post action="/servlet/webacc">
   <INPUT type=hidden name=User.context value=xyz>
   <INPUT type=hidden name=action value=Rule.Action>
   <INPUT type=hidden name=Compose.id value=1>
   <INPUT type=submit name=Rule.Directory value="Address Book">
</FORM>