On the resulting page, the Name internal name and Portal DB Provider fields

16-16 Publishing Reports to the Web with Oracle Reports Services

8. Optionally, enter a description of the calendar under Description.

9. Click Next.

10. On the DateTime Availability page, define the parameters for the calendar:

Under Duration, specify the length of time that comprises a unit of duration or duration period. For example, if you plan to set this calendar up to allow report access from 9:00 AM to 5:00 PM on a given day, then both Start and End would be the same month, day, and year, but the hour and minute setting for Start would be 9:00 AM and for End would be 5:00 PM. In this example, the duration of availability of a report on a given day is from 9:00 AM to 5:00 PM. Under Repeat, specify how frequently the duration period is repeated: ■ Occurs only once indicates that the duration period does not repeat, and associated components are no longer available when the period expires. For example, if you select Occurs only once and set a duration period of one year, then the associated components cease to be available after one year. ■ Yearly indicates that the duration period restarts each year. If you select Yearly and have the same start and end date in your Duration setting, but your Start hour is set to 9:00 AM and your End hour is set to 5:00 PM, then the Reports components associated with this availability calendar will be available one day a year between 9:00 and 5:00. ■ Monthly indicates that the duration period restarts each month between the Start and End dates specified under Duration. If you select Monthly and have the same date and year in both Start and End—July 25, 2001—but set the Start hour for 9:00 AM and the End hour for 5 PM, then the associated components will be available between 9:00 AM and 5:00 PM on the 25th of each month. ■ The by DateDay setting applies only to Monthly. With by DateDay, you specify whether the duration period is set by the particular date for example, always on the 25th through the 29th of the month or by the particular days for example, always on Monday through Friday—which happen this month to fall on the 25th through the 29th. ■ Weekly indicates that the duration period restarts on a weekly basis between the days specified under Duration. ■ Daily indicates that the duration period restarts each day between the hours specified under Duration. ■ Frequency fills in the missing value for the phrase: Repeat every n years, months, weeks, days—depending on what you selected under Repeat. For example, if you set the duration period to repeat weekly, then set Frequency to 2, the duration period restarts every two weeks, or every other week. ■ Optionally, check Repeat Until and assign a termination datetime for the calendar. Availability for all associated Reports components ends on the Repeat Until datetime.

11. Click Next.

Note: No validation is run on your calendar. If the duration period exceeds the repetition setting, no error message will be generated. For example, if you set the duration period for 10 days and the repetition for weekly, the periods will overlap, but you will not be notified of the overlap. Deploying Reports in Oracle Portal 16-17

12. On the Summary page, click the Show Calendar button to preview your

availability calendar. If you wish to change some settings, click the Previous button and make your changes.

13. On the Summary page, click Finish to complete the availability calendar.

The resulting page summarizes your settings for this calendar. On this page, you can edit your settings, get detailed information about the calendar, or delete it.

14. Click Close to close this page and return to Oracle Portals Oracle Reports

Security page. You can combine this calendar with other calendars or apply it as is to registered Oracle Reports Services components.

16.2.4.2 Creating a Combined Availability Calendar

A combined availability calendar combines two or more availability calendars into a single availability calendar. This is useful when you want to set up an availability period, then exclude specific days, such as holidays, from that period. When you combine calendars, you can indicate that all the days on one of them be excluded from all the days on the other. For example, one calendar could describe availability Monday through Friday; another could describe availability only on Wednesday. You could combine these, excluding the Wednesday calendar, so that the combined calendar describes availability Monday, Tuesday, Thursday, Friday. Conceivably, you could create a simple calendar that covers the weekdays of an entire year, then multiple additional simple calendars, where one excludes New Years, another excludes a second holiday, another excludes a third, and so on. You could combine all these calendars, excluding all the holiday calendars, so that components were available only on the days your company is open for business, between certain times of day, throughout the year. To combine availability calendars: 1. Log in as an administrator to Oracle Portal. 2. Navigate to the Builder page.

3. Click the Administer tab.

4. Click the Oracle Reports Security Settings link in the Oracle Reports Security

portlet.

5. Click the Create Reports Combined Calendar Access link in the Reports Calendar

Access portlet. 6. Specify an internal name, display name, and Portal DB Provider for the calendar: ■ Enter a unique name in the Name field that will identify the combined availability calendar internally in Oracle Portal, for example, MY_ COMBINED_CALENDAR. This name must follow the Oracle Portal rules for a valid component name; that is: It must be no more than 30 characters It must contain only alphanumeric characters no spaces or special characters allowed. The first character must be a letter not a number. ■ Enter the name you want to display for this combined availability calendar in the Display Name field. The Display Name is the name that is exposed to your users through Oracle Portal.