Create, modify or delete a project

Create, modify or delete a project

An Oracle Policy Modeling project is created to manage the rule documents and other files that make up a rulebase.

What do you want to do?

Create a new project

Open an existing project

Add existing files to a project

Add new files to a project

Delete a project

Create a new project

To create a new rulebase project:

  1. In Oracle Policy Modeling, select File | New Project.



  2. In the New Project dialog box, enter a name for the project in the Project Name field.
    NOTE: Do not use a trailing "." (dot) in the Project Name, as this can cause a deployment error in IIS.
  3. In the Rule Language drop-down list, select the language in which you will write the rules. The rule language determines what language documents are parsed in.
    If the language that you want to create your project in is not in this list, you can use the Oracle Policy Modeling Rapid Language Support Tool to create a language parser for a different language. (The Oracle Policy Modeling Language Support Tool is available from Start | All Programs | Oracle Policy Modeling | Oracle Policy Modeling Tools | Oracle Policy Modeling Rapid Language Support Tool, and help on using that tool is available from the Help menu in the tool itself.)
    Once you have created a new language parser using this tool, when you reopen Oracle Policy Modeling and select File | New Project, the parser you created will appear in the Rule Language drop-down list.
    Note that you may also write a rulebase in one language, and then add one or more translations to the rulebase to allow it to be run in other languages.
  4. In the Region drop-down list, select the appropriate region for the rulebase. This setting determines the formatting of numbers, dates and currency values. This applies by default to both the deployment of the rulebase in Oracle Web Determinations or other application (eg how values entered into your rulebase by a user are interpreted), and some aspects of the rule documents in your rulebase (eg how some constant values referenced in your rules, such as income limits, are interpreted). Note that you may customize the deployment settings so they are not based on this project setting - please see the Oracle Policy Automation Developer's Guide for details.
  5. In the Project Folder field, specify the location for the project. The recommended location for Oracle Policy Modeling projects is c:\Projects or d:\Projects (whatever the main local drive is).
    TIP: You can create a new folder by simply typing the directory followed by the new folder name into this field.
  6. If you want to create the default folder structure, select the option to Create default folder structure.
    TIP: It is recommended that the default folder structure is created as it will help organize your project. For more information, see Organize project files. 
  7. Click Create to create your project.
    Your new project will open in Oracle Policy Modeling. If you look in the project folder on your computer (eg in Windows Explorer) you will notice that a new folder Development has been created. This folder contains your project file (.xprj) and the default folders (if the options to create these was selected). The xprj file is the master project file which records the file and folder structure of the project.

Open an existing project

To open an existing project:

  1. In Oracle Policy Modeling, select File | Open Project.
  2. In the Open Project dialog box, browse to your existing Oracle Policy Modeling project file (.xprj). Then click Open.

Alternatively, you may double-click on an existing project file in Windows Explorer to launch the project in Oracle Policy Modeling.

NOTE: If the project was created in an older version of Oracle Policy Modeling, it will need to be upgraded before it can be opened. See Upgrade a project for more information.

Add existing files to a project

To add an existing file to a project:

  1. In the Project Explorer in Oracle Policy Modeling, select the folder that you would like the file to be placed in, then select File | Add | Add Existing File...
  2. In the Add Existing File dialog box, browse to the file that you want to add. Then click Open. NOTE: If the file was created in an older version of Oracle Policy Modeling, you will be prompted to upgrade the file at this point.

The file will now appear in the Project Explorer in Oracle Policy Modeling and can be opened by double-clicking it.

Add new files to a project

To add a new file to a project:

  1. In the Project Explorer in Oracle Policy Modeling, select the folder that you would like the file to be placed in, then right-click and select the type of file that you would like to add.
    The options are Add New Word Document, Add New Excel Document, Add New Translation Document, Add New Screens File, Add New Properties File, Add New Visual Browser File, or Add New Test Script File.
  2. Type a name for the new document, then press Enter.

The file will now appear in the Project Explorer in Oracle Policy Modeling and can be opened by double-clicking it.

Delete a project

To delete a project from your file system:

  1. In Windows Explorer, browse to select the project folder that contains the project that you want to remove.
  2. Right-click the folder and select Delete.
  3. In the Confirm Folder Delete dialog box, click Yes.