Pages

Sunday, May 23, 2010

Step 13 – Apex Developer Day – Adding a Calendar

You want to add a calendar that shows the deadlines of each project and then add a button on the Projects report to link to the Calendar. Perform the following steps:

1.

Click Create Page > in the Project Tasks Application home page.

clip_image002

2.

Select the Calendar Page Type and click Next >.

clip_image004

3.

Select the Easy Calendar radio button and click Next >.

clip_image006

4.

Enter Project Tasks Calendar for the Page Name and click Next >.

clip_image008

5.

Select the Do not use tabs option and click Next >.

clip_image010

6.

Select APEX_PROJECT_LOOKUP for the Table / View Name and click Next > .

clip_image012

7.

Ensure that PROJECT_DEADLINE is selected for the Date Column and PROJECT is select for the Display Column. Then click Next >.

clip_image014

8.

Click Finish to create the calendar.

clip_image016

9.

The calendar has been created. Click the Run Page icon to view the calendar.

clip_image018

10.

The calendar shows the projects on the date due. You can also view the calendar in daily or weekly mode. Click Weekly.

clip_image020

11.

The Weekly calendar mode is displayed. You can advance to next week. Click Next.

clip_image022

12.

You want to create a button to this calendar from the Projects report. Scroll down to the bottom of the weekly calendar and click the Application <n> link in the developer tool bar.

clip_image024

clip_image026

13.

Click the Projects page.

clip_image028

14.

In the buttons area, Click the Create (clip_image030) icon.

clip_image032

15.

Select the second Projects (10) region and click Next >.

clip_image034

16.

Select Create a button in a region position and click Next >.

clip_image036

17.

Enter View Calendar for the Button Name and click Next >.

clip_image038

18.

Accept the defaults and click Next >.

clip_image040

19.

Accept the defaults and click Next >.

clip_image042

20.

Click the up area to select a page to branch to.

clip_image044

21.

Select Project Tasks Calendar.

clip_image046

22.

Click Create Button.

clip_image048

23.

Click Run to view the Report with the button.

clip_image050

24.

Click View Calendar.

clip_image052

25.

The calendar is displayed. Click the Application <n> link in the developer tool bar.

clip_image054

clip_image056

No comments:

Post a Comment