Oracle Web Publishing Assistant Getting Started
Release 8.1.6 for Windows NT

A73026-01

Library

Product

Contents

Index

Prev Next

3
Working with Oracle Web Publishing Assistant

This chapter discusses how to use Oracle Web Publishing Assistant.

Specific topics discussed are:

Before You Start

Before you begin using Oracle Web Publishing Assistant, consider:

Issue  To implement... 

Enlarge the event queue log file size if:

  • you have more than 10 Web page queries in the listing

  • you update 10 more Web page queries a day

 
  1. Choose Start > Programs > Administrative Tools > Event Viewer.

  2. Choose Log Settings from the Log menu.

    The Event Log Settings screen appears.

  3. Select the Application log type from the Change Settings drop-down list box.

  4. Set the Maximum log size to 30016 Kilobytes (K).

  5. Set Event Log Wrapping to Overwrite events older than 7 days.

 

The limit of queries stored in the Oracle Web Publishing Assistant repository is 65535 queries. 

This limit is inherent in the software. You cannot change this limit. 

The maximum characters per column returned from the database is 4000 characters. 

This limit is inherent in the software. You cannot change this limit. 

Use domain shared or Oracle OPS$ accounts 

  1. Choose Start > Settings > Control Panel.

  2. Double-click Services.

  3. Double-click the service OracleWebAssistant from the listing.

    The Service dialog box appears.

  4. Select This Account.

  5. Enter your (domain) user account in the This Account field, or alternatively, click "..." to select your account.

  6. Enter your (domain) user password, and confirm.

  7. Click OK to dismiss the dialog box, and save your changes.

  8. Select OracleWebAssistant from the service listing, and click Stop.

  9. Click Start to start the service and use the new account.

  10. Click Close to close the control panel.

 

Determine how you want the Web page to look, before entering a query to create a Web page. Oracle Web Publishing Assistant provides you with sample templates that you can use (ORACLE_BASE\ORACLE_HOME\ASSISTANTS\OWAST\SAMPLES\*.HTX), or you can create your own template using any HTML editor.  

See "Designing Templates"

Creating New Web Page Queries

Oracle Web Publishing Assistant merges the results of your database query with an HTML template (use the default template provided with the product or a template that you design). The result is a Web page query.

To create a new Web page query:

  1. If you are using multiple Oracle homes functionality, the command to start a tool includes a HOME_NAME, where HOME_NAME indicates the name of a different Oracle home. Note that the first Oracle home created on your computer does not have HOME_NAME appended to the group. For example:

    To start Oracle Web Publishing Assistant from the first Oracle home, choose:

    Start > Programs > Oracle for Windows NT > Application Development > Oracle Web Publishing Assistant.

    To start Oracle Web Publishing from an additional Oracle home, choose:

    Start > Programs > Oracle for Windows NT - HOME_NAME > Application Development > Oracle Web Publishing Assistant.

    The Oracle Web Publishing Assistant Welcome screen appears:


    The first time you run Oracle Web Publishing Assistant, a Create Web Page button appears. This button will not appear in subsequent uses of Oracle Web Publishing Assistant if you have Web page queries scheduled.

    The next time you want to create a new Web page query, click New in the toolbar to launch the Create Web Page Wizard.

    If you do not want the welcome screen to appear the next time you start the Oracle Web Publishing Assistant, clear the check box on the bottom of the welcome screen.

  2. Click Create Web Page.

    The Create Web Page Wizard (Step 1 of 4) screen appears.


  3. Enter database login information, and click Next:

    Field  Enter 

    User Name 

    A valid user name for the database you want to access. 

    Password 

    The password for the account. 

    Database 

    The Net8 service name or database alias of the database you want to connect to. Leave the field blank if you want to connect to a local database. 

    The next screen, Create Web Page Wizard (Step 2 of 4) appears.

  4. Select a method for creating a query, and click Next after building or entering your query statement:

    Query Method  Description 

    Build a query from a database hierarchy.
     

    You can view the structure of the database, and select a table, view, synonym, or multiple columns of an object.

    Further customize your query by clicking Specify Additional Query Criteria. Provide additional criteria such as WHERE or ORDER BY clauses. 

    Enter a query as a SQL statement.
     

    Enter the SQL `SELECT' statement in the field provided.

    You can also import a SQL statement from a text file by clicking the Import SQL From Text File button. 

    The next screen, Create Web Page Wizard (Step 3 of 4) appears.

  5. Select a scheduling option, and click Next

    .

    Scheduling Option  Description 

    Immediately
     

    Oracle Web Publishing Assistant immediately generates your Web page.

    To view the page, open the file in your Web browser. The default directory for generated pages is ORACLE_BASE\ORACLE_HOME\ASSISTANTS\OWAST, where ORACLE_BASE\ORACLE_HOME is your Oracle home directory and \OWAST is the Oracle Web Publishing Assistant directory. The file will not be included in the file listing. 

    Once
     

    Select the specific date and time of the day within the next 31 days to create your Web page. Oracle Web Publishing Assistant will create the Web page once at the time and day you specified. You can select only one day and time. You cannot specify multiple create sessions with this scheduling option. 

    On Day(s) of the Week
     

    Select the day or days of the week to create your Web page. Oracle Web Publishing Assistant will automatically create the Web page on that day (or those days) and time, every week. You can choose any number of days and one time for that day. For example, you can choose to have your Web page created at 2:00 P.M. every Monday, Wednesday, and Friday of every week. 

    On Date(s) of the Month
     

    Select the date or dates of the month you want Oracle Web Publishing Assistant to create your Web page. You can select any number of dates and one time of day to create your Web page. For example, you can choose to have your Web page created at 7:00 A.M. every 1st and 15th of every month. 

    At Regular Intervals
     

    Specify the time intervals at which Oracle Web Publishing Assistant should create your Web page. You can specify the time interval (minutes, hours, or days) between Web page builds. For example, you can choose to have your Web page created every 5 minutes, every 36 hours or every 31 days. The maximum time interval is 744 hours (31 days). 

    When Data Changes
     

    Automatically updates your Web page whenever the relevant data in the database is modified. You can only use this scheduling option when you select a table from the database hierarchy to build your query. 

    Manually
     

    Your Web page is generated whenever you decide to generate it. After creating the Web page query with the Create Web Page wizard, select the file from the listing, and click Generate. 

    The next screen Create Web Page Wizard - Step 4 of 4 appears:


  6. Enter the file name of the Web page you want to create, or click Browse to search for a location of an existing file name.

    If the file is located on a network drive, use the Universal Naming Convention (UNC) name instead of the network drive letter. For example:

    Use  Instead of 

    \\servername\filename.htm 

    F:\filename.htm 

    In addition, ensure that the OracleWebAssistant service is running under the user account with access to the network drive.

    1. Choose Start > Settings > Control Panel.

    2. Double-click Services.

    3. Double-click OracleWebAssistant.

    4. This account should be set to the user account with access to the network drive.

  7. Specify whether you want Oracle Web Publishing Assistant to use a default template or a template file that you have already created. Browse to locate the file, or enter the file name in the field. Click Finish.

    The Summary Screen appears.

  8. Click OK to dismiss the screen.

    All Web pages, except those scheduled to be created Manually, are automatically generated at this time. If you specified a scheduling option for some time in the future, your Web page will also be regenerated at that scheduled time.

    Continue to the next section "Administering Web Page Queries" to learn how to modify and maintain your Web page queries.

Administering Web Page Queries

Using Oracle Web Publishing Assistant, you can perform administrative tasks on your Web page queries, such as changing the resulting Web page formatting, modifying the query syntax, and scheduling updates. Oracle Web Publishing Assistant provides an easy-to-use, graphical interface for you to administer your Web page queries. The menu and toolbar are briefly described in the section "Before You Start".

After you have created and scheduled your Web page queries, the (Web page query) files appear in the file listing of the Oracle Web Publishing Assistant. Oracle Web Publishing Assistant enables you to maintain your Web pages graphically.

This section describes the following administrative tasks:

Previewing a Scheduled Web Page Query

To preview a Web page query:

Generating Web Page Queries

To generate scheduled Web pages:

  1. Select the Web page query file name from the listing.

  2. Click Generate on the toolbar, or from the Web Page menu, choose Generate.

    Alternatively, using the right mouse button, right-click the file name. Choose Generate from the pop-up menu.

    Oracle Web Publishing Assistant generates the Web page immediately and refreshes the listing automatically.

  3. Double-click the Web page query file name in the listing to view.

    Oracle Web Publishing Assistant launches your Web browser.

Deleting Scheduled Web Page Queries

To delete a scheduled Web page:

  1. Select the Web page query file name to be deleted from the listing.

  2. Click Delete on the toolbar, or from the Web Page menu, choose Delete.

    Alternatively, using the right mouse button, right-click on the file name. From the pop-up menu, choose Delete.

    Deleting the Web page query file name in this way does not delete the related .HTX or .HTM files.

Viewing and Modifying Properties of Web Page Queries

View properties of Web page queries to review and modify the settings used to create the page.

To view and modify the properties of the Web page queries:

  1. Select the Web page query file name from the listing.

  2. Click Properties on the toolbar, or choose Properties from the Web Page menu.

    Alternatively, using the right mouse button, right-click the file name. Choose Properties from the pop-up menu.

    The Properties screen appears.

  3. Click the tabs to see the properties:

    Tab  Description 

    Login 

    Shows the User Name, Password (encrypted), and Database (service name or database alias) used to connect to a database.

    You can edit any field. Click Apply or OK to save your changes. 

    Query 

    Shows the SQL statement used to query the database.

    You can edit the query syntax from within this window:

    1. Click Apply or OK after you edit the query.

      The Modify Template dialog box appears.

    2. Select an option, and click OK.

      If you decide to edit your current template, Oracle Web Publishing Assistant automatically launches the default editor application for template files.

    3. Edit the current template if necessary.

    4. Click OK to close the Properties screen.

    You cannot change the query if your scheduling option is When Data Changes. If your scheduling option is When Data Changes, and you wish to change your query, then you need to modify your scheduling option before you modify your query. 

    Scheduling 

    Shows the scheduling option details you specified while creating the Web page query.

    You can change your scheduling option. Unless your original query was scheduled as When Data Changes, that scheduling option will not appear as a choice in this tab. 

    File Options 

    Shows the Web page query file name and full path. Shows the location of the template used to create the Web page.

    You can edit the template from this screen:

    1. Click Edit.

      Oracle Web Publishing Assistant launches the program associated with editing HTX files. If you do not have a program associated with HTX files, Oracle Web Publishing Assistant launches Notepad.

    2. Edit the template, and save.

    3. Oracle Web Publishing Assistant uses the revised template for the next scheduled or the next requested Web page generation.

    The Query ID field displays a number that can be used when troubleshooting Oracle Web Publishing Assistant. See Appendix B, "Troubleshooting" for more information. 

Refreshing the Listing of Web Page Queries

Refreshing is automatic in this release of Oracle Web Publishing Assistant. If you want to refresh immediately, choose Refresh from the View menu.

Editing Templates

You can edit templates from within the Properties screen or by opening the template file using your HTML editor.

To edit the template from within the Properties screen:

  1. Select the Web page query file name from the listing.

  2. Click Properties on the toolbar, or from the Web Page menu, choose Properties.

    Alternatively, using the right mouse button, right-click the file name. From the pop-up menu, choose Properties.

  3. Click the File Options tab.

    This tab shows where your Web page query is stored (file name and full path), and it shows which template you used to create the query.

  4. Click Edit.

    The template is opened with the program associated with that file type, or if there is no program associated, Oracle Web Publishing Assistant launches Notepad.

  5. Edit the template.

  6. Save the file.

    Oracle Web Publishing Assistant uses the revised template file for the next scheduled or next requested Web page generation.

Editing Query Syntax

To change your query:

  1. Select the Web page file name from the listing.

  2. Click Properties on the toolbar, or from the Web Page menu, choose Properties.

    Alternatively, using the right mouse button, right-click the file name. From the pop-up menu, choose Properties.

  3. Click the Query tab.

  4. Edit the SQL statement in the field.

  5. Click Apply or OK.

    The Modify Template dialog box appears.

  6. Select an option, and click OK.

    If you decide to edit your current template, Oracle Web Publishing Assistant automatically launches the default editor application for template files.

  7. Edit the current template if necessary.

  8. Click OK to close the Properties screen.


Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index