Click OK to save your change and return to the page.

12-34 Oracle Fusion Middleware Users Guide for Oracle Portal

12.3.3 Using HTML to Create Templates for Database Portlets

The HTML templates you create for database portlets are also known as Unstructured User Interface templates, or UI templates. UI templates control the look and feel of the Web page on which an Oracle Portal database portlet is rendered when the portlet displays in full-page mode. Database portlets are those portlets built under the ownership of Portal Database Providers as opposed to Web providers. Unstructured User Interface templates are based on HTML code that you supply. You can enter the code directly into the template wizard, or create it using a third-party tool, then cut and paste that HTML into the wizard. Additionally, you can enter substitutions tags to stand in for such information as the current user’s name, the Oracle Portal images directory, the portal schema owner, and the like. You can also use oracleoracle tags to include SQL statements or PLSQL blocks in your UI template. Additionally, you can include HEAD elements, such as custom JavaScript, cascading style sheet references, and META tags. By applying a UI template to a database portlet, you can automatically specify a portlet title, a title background, links to home and help pages, and background colors and images. UI templates are good for standardizing groups of database portlets in a provider. For example, you can design a UI template for a provider that includes the company logo in the heading, the company name in the title, and an industry-related background image. By seeing that every database portlet in the provider uses the same UI template, you can ensure that such portlets display in a standard, controlled way to all users. This section describes how to work with UI templates. It includes the following subsections: ■ Section 12.3.3.1, Creating an Unstructured User Interface Template ■ Section 12.3.3.2, Applying an Unstructured User Interface Template ■ Section 12.3.3.3, Editing an Unstructured User Interface Template ■ Section 12.3.3.4, Deleting an Unstructured User Interface Template

12.3.3.1 Creating an Unstructured User Interface Template

To create an unstructured UI template: 1. Log in to Oracle Portal.

2. Click the Navigator link at the top of the page.

3. Click the Providers tab to bring it forward.

4. Click the Locally Built Providers link.

5. Click the Shared Components link.

6. Click the User Interface Templates link.

7. Next to Create New, click the User Interface Template link.

8. Click the Unstructured UI Template link.

9. In the Template Name field, enter a name for the template.

The name must be unique within the objects in the Shared Components provider. Use up to 50 bytes. This equals 60 ASCII bytes, but fewer multibyte characters. Use any character except the following: , \ : ? |