17.3.7.3 Creating a Calendar Using a REST Enabled SQL Reference

Create a calendar on a remote database using a REST Enabled SQL reference.

Tip:

Before creating a report using a using a REST Enabled SQL reference, you must complete the tasks described in "Before You Begin: REST Enabled SQL Service Requirements" and create the reference as described in "Creating a REST Enabled SQL Service Reference."

To create a calendar un REST Enabled SQL reference:

  1. Create a REST Enabled SQL reference.
  2. Run the Create Page Wizard:
    1. Navigate to the Workspace home page.
    2. Click the App Builder icon.
    3. Select an application.
    4. On the Application home page, click Create Page.
      The Create Page Wizard appears.
  3. On Create a Page:
    1. Page Type - Select Component.
    2. Click Calendar.
  4. For Page Attributes:
    1. Page Number - Enter a page number. If you identify a new page number, the wizard creates a new page. If you identify an existing page number, the wizard adds the component to that page.
    2. Page Name - Specify a name for the page.
    3. Page Mode - Select a page mode. Normal presents the page as a normal Application Express application page. Modal Dialog presents the page as an overlay window positioned which remains active and focused until the end user dismisses (closes) it. The underlying page is grayed out and the end user is prevented from interacting with the rest of the page until the dialog is closed.
    4. Page Group - Identify the name of the page group you would like to associate with this page.
    5. Breadcrumb - Select whether you want to use a breadcrumb navigation control on your page, and which breadcrumb navigation control you want to use.
    6. Click Next.
  5. For Navigation Menu:
    1. Select how you want this page integrated into the Navigation Menu. To learn more, see field-level Help.
    2. Click Next.
  6. On Source:
    1. Data Source - Select REST Enabled SQL Service.
    2. REST Enabled SQL Service - Select a previously defined reference.
    3. Source Type - Specify the source of the new page. Reports can be based on tables or SQL queries. Select either Table or SQL Query. In the illustration that follows, the Source Type is Table.
    4. Table/View Owner - Select the owner of the table on which you are building a report.
    5. Table/View Name - Select the table on which you are building a report.
    6. Select Columns - Select one or more columns to be included in the region. Selected columns will display in the report.
  7. For Settings:
    1. Display Column - Select the column which holds the text displayed for events on this calendar.
    2. Start Column - Select the column which holds the start date for events displayed on this calendar.
    3. End Date Column - Select the column which holds the end date for events displayed on this calendar. If this attribute is specified, then the calendar displays duration based events
    4. Show Time - Select whether the time portion of the date should be displayed. The Week and Day views only be display when Show Time is set to Yes. If the start date or end date columns do not include time components they will be shown as 12:00 am.

      For example, the next illustration shows Settings in which the Display Colum is Name, the Label Column, START_DATE, and the End Date Column is END_DATE.

      Description of rest_enabled_sql_calendar.png follows
      Description of the illustration rest_enabled_sql_calendar.png
    5. Click Create.
    Page Designer appears.
  8. Click Save and Run Page to view the report.