Adobe COLDFUSION 9 Manual page 1234

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
• Specify
RecurEveryWeekDay="true"
You cannot use daily recurrence to schedule a single event that occurs a multiple number of times, but only on week
days. To schedule such an event, specify a weekly recurrence with multiple recurrence days.
The following CFScript code sample sets daily recurrence for every three days and sets the event to occur 20 times:
IsRecurring="true";
RecurrenceType="DAILY";
RecurrenceCount="20";
RecurrenceFrequency="3";
Specifying weekly recurrence
You can create an event that always occurs on the same day or days of the week, and occurs every week or every several
weeks by specifying
RecurrenceType="WEEKLY"
• Define a
RecurrenceFrequency
occurs every week. To schedule a meeting for every fourth week, for example, specify
• Specify a
RecurrenceDays
,
,
,
. If you omit this attribute, the event recurs on the day of the week determined by the
THUR
FRI
SAT
SUN
field value.
The following CFScript code sample sets an event that occurs on Tuesday and Thursday of every other week until
December 3, 2007.
IsRecurring="true";
RecurrenceType="WEEKLY";
RecurrenceEndDate="12/13/2007";
RecurrenceFrequency="2";
RecurrenceDays="TUE,THU;
Specifying monthly recurrence
You can create an event that always occurs on a monthly basis, or occurs every several months by specifying
RecurrenceType="MONTHLY"
• Events that occur on the same date of each scheduled month, for example, on the tenth day of every three months.
• Events that occur on the same week of the month and the same day of the week, for example, on the second thursday
of every month, or on the last Friday of every six months.
To specify a date-based monthly event, you only specify the recurrence type, and, if the recurrence is not every month,
the frequency. ColdFusion schedules the event to occur on the day of the week determined by the
value. To schedule a meeting that occurs on the start date every four months, specify the following recurrence fields:
IsRecurring="true";
RecurrenceType="MONTHLY";
RecurrenceFrequency="4";
To specify an event that occurs on the same day of the week, specify the following fields in addition to
:
RecurrenceType
to specify a meeting that is held five days a week.
. You use the following fields to control the frequency:
field to specify the frequency of the event, in weeks. If you omit this field, the event
field with a comma-delimited list of one of more of the following strings:
. You can schedule two types of events:
Last updated 8/5/2010
RecurrenceFrequency="4"
,
,
MON
TUE
WED
startTime
field
startTime
1229
.
,

Advertisement

Table of Contents
loading

Table of Contents