Select the Do not use a template radio button.
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 Template12.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: , \ : ? |Parts
» Oracle Fusion Middleware Online Documentation Library
» Controlling Content Handling What Is Content?
» Finding Content Personalizing Your Portal
» Refreshing a Page Displaying a Page
» Refreshing a Portlet on a Page
» Understanding Page and Item URLs
» Click Return Object next to the page you want to make your home page. Click OK.
» Click Return Object next to the page you want to make your home page when Click OK.
» Changing Your Password Viewing Pages
» Choosing a Default Page Style
» Enter the words that you want to search for.
» Choose which page groups are searched:
» Personalizing the Basic Search Portlet
» For Find results that:, choose one of the search operators described in
» In the Search In field, select one or more Page Groups in which to search.
» Select a Page in which you want to search.
» From the Perspective and Category lists, choose the perspectives and categories in
» Interpreting Search Results Click Choose Attributes to specify additional attribute search criteri
» Click Portal Content Tools in the Portlet Repository. Click Saved Searches.
» Change the name of the portlet, if desired, in the Display Name field and set other
» Click OK. Adding a List of Saved Searches to a Page
» Adding a Portlet to a Page Rearranging Portlets in a Page Region
» Moving Portlets to Different RegionsTabs Hiding a Portlet on a Page
» Removing a Portlet from a Page
» Rearranging the Order of Tabs in a Region
» Applying a New Style to a Page
» Personalizing a Page Parameter
» Removing Your Page Personalizations
» Setting Up the My Notifications Portlet to Show Your Subscriptions
» Accessing Page Editing Tools Accessing Page Portlet Editing Tools
» Adding Items from Your Desktop
» Using the Pending Items Preview Mode
» Personalizing the My Approval Status Portlet
» In the Display Name field, enter a different title for the portlet if required. For
» In the Display Limit radio group, select whether to display all notifications or
» Make sure the Show Approval Notifications check box is selected.
» Select the Display Notification Type Icon in Portlet check box if you want to
» Select the Display Notification Status in Portlet check box if you want to display
» Click OK. Setting Up the My Notifications Portlet to Show the Status of Oracle Portal Approvals
» To review the item, click the Item Link.
» Enter your approval comments and click Approve.
» Enter your rejection comments, and click Reject.
» Troubleshooting Oracle Fusion Middleware Online Documentation Library
» Approaching Your Portal Getting Up to Speed
» Knowing Your Audience Getting Up to Speed
» Understanding the Planning Process
» Using Page Groups Effectively
» Configuring a Page Group for Content Management
» Deciding What Content To Publish
» Click the Build tab to bring it forward.
» From the Page Groups portlets Work In drop-down list, choose the page group to
» Click the Access tab to bring it forward.
» In the Grantee field, enter the name of the user or group needing access.
» Click the Configure link. Click the Access tab to bring it forward.
» In the Change Access section, find the relevant user or group.
» From the Privilege list, choose the new privilege level. Click OK.
» Controlling Who Can Apply a Different Style to a Page
» From the Page Groups portlet Work in drop-down list, choose the page group to
» If necessary, click the Main tab to bring it forward.
» In the Contact E-mail field, enter the e-mail address of the page group contact, for
» Click OK. Specifying the Page Group Contact E-mail Address
» From the Page Groups portlet Work in drop-down list, choose the page group that
» Under Pages in the Layout Appearance section, click the relevant page.
» Click the Add Item icon on the region where the contact e-mail address will
» On the resulting page, select Built-In Navigation Item Types.
» From the Built-In Navigation Item Types list, choose Portal Smart Link.
» Click Next. Adding the Page Group Contact E-Mail Address to a Page
» From the Portal Smart Link list, choose Contact.
» Enter your own Display Name or select Use The Default Display Name.
» Optionally, select an Image to display with the link or by itself, and specify Image
» Click Finish. Adding the Page Group Contact E-Mail Address to a Page
» Deleting a Page Group Configuring a Page Group’s Page Edit Modes
» Specifying the Doctype for Pages
» Specifying Inheritance Rules for Newly Created Pages
» Choosing a Default Style for a Page Group
» Choosing a Default Navigation Page for a Page Group
» Choosing a Default Template or Page Skin for a Page Group
» Specifying Tab Navigation Behavior for a Page Group
» Defining URL Rewrite Rules for a Page Group
» Enabling and Disabling Parameters and Events for a Page Group
» From the Page Groups portlet Work In drop-down list, select the page group.
» Click the Configure tab to bring it forward.
» In the JSP Access section, click the Edit link.
» Select the Allow External Access check box.
» In the Access Key field, enter a text string to provide security between the page
» Click OK to return to the Configure tab.
» Click Close. Enabling JSP Access
» Click the Browse link next to the selected page group.
» Click the Externally Published Portlets link.
» Click the Externally Published Portlet link next to Create New.
» On the resulting page, enter a name for the portlet in the Portlet Name field.
» Click the Select Portlet icon, and select the portlet you will use in a JSP.
» Click OK. Publishing a Portlet Externally
» Additional JSP Information Enabling JavaServer Page Access to a Page Group
» Understanding the Shared Objects Page Group
» Moving Objects to the Shared Objects Page Group
» Troubleshooting Page Groups Oracle Fusion Middleware Online Documentation Library
» Things You Can Do with Content
» In the Navigator, click the link for the page group in which you want to create the
» Next to Create New, click the Attribute link.
» In the Display Name field, enter a descriptive name for the attribute. The display
» From the Datatype list, choose the type of data that the attribute will store.
» Click Create. Creating an Attribute
» Click Close. Creating an Attribute
» Use the Navigator to browse to the attribute that you want to edit.
» In the row for the attribute, click the Edit link.
» In the Name field, edit the name of the attribute. The name is used internally only.
» In the Display Name field, edit the descriptive name of the attribute. The Display
» Select Enable Translations if you want users to be able to translate the values
» In the Length field, enter the number of characters the attribute can store.
» Next to Create New, click the Item Type link.
» In the Display Name field, enter a descriptive name for the item type. The display
» From the Base Item Type list, choose the base item type from which you want
» Click Create. Creating an Item Type
» Click Close. Creating an Item Type
» In the row for the item type, click the Edit link.
» In the Name field, edit the name of the item type. The name is used internally
» In the Display Name field, edit the descriptive name of the item type. The Display
» In the Icon field, enter the path and file name of an image to associate with the
» In the row for the item type, click the Edit link. Click the Attributes tab.
» In the Available Attributes list, select the attributes that you want to add to the
» Click the Move icon to move the selected attributes to the Selected Attributes list.
» In the Default Value field, enter the value to use by default for the attribute. If
» Select the Required check box if you want it to be mandatory for content
» Clear the Add Wizard check box if you do not want to display the attribute on
» Clear the Edit Wizard check box if you do not want to display the attribute on
» Next to Create New, click the Page Type link.
» In the Display Name field, enter a descriptive name for the page type. The
» From the Base Page Type list, choose the base page type from which you want
» Click Create. Creating a Page Type
» Click Close. Creating a Page Type
» In the row for the page type, click the Edit link.
» In the Name field, edit the name of the page type. The name is used internally
» Adding Attributes to a Page Type
» Click Apply to add the attributes to the page type.
» Select the Required check box if you want it to be mandatory for page
» In the Attribute list, choose the attribute whose values you want to pass to a
» In the Pass As field, enter the parameter name if it is different from the
» Next to Create New, click the Category link. Or, if you want to create the category
» In the Display Name field, enter a descriptive name for the category.
» Click Create. Creating a Category
» Click Close. Creating a Category
» Use the Navigator to browse to the category that you want to edit.
» In the row for the category, click the Properties link.
» In the Name field, edit the name of the category.
» In the Display Name field, edit the descriptive name of the category.
» In the Description field, enter information about the category that may be useful
» Specifying Category Images Click OK.
» In the Title Image Name field, enter the path and file name of an image to use
» In the Rollover Image Name field, enter the path and file name of an image to use
» In the Banner Image Name field, enter the path and file name of an image to
» In the Icon Name field, enter the path and file name of an image to use when
» Click OK. Editing a Category
» In the Types and Classification section, click the Edit link.
» In the Hidden Categories list, select the category that you want to make available.
» Click the Move icon to move the selected category into the Visible Categories list.
» Click Close. Making a Category Available to a Page Group
» Use the Navigator to browse to the category that you want to move.
» In the row for the category, click Move to Shared.
» In the confirmation page, click Yes.
» In the row for the category, click the Delete link.
» Click Delete. Deleting a Category
» In the confirmation page, click OK.
» Click the Perspectives link.
» Next to Create New, click the Perspective link. Or, if you want to create the
» In the Display Name field, enter a descriptive name for the perspective.
» Click Create. Creating a Perspective
» In the row for the perspective, click the Properties link.
» In the Name field, edit the name of the perspective.
» In the Display Name field, edit the descriptive name of the perspective.
» In the Description field, enter information about the perspective that may be
» Select the Display Icon With Items check box if you want to display an image
» Specifying Perspective Images Click OK.
» Click OK. Editing a Perspective
» In the Hidden Perspectives list, select the perspective that you want to make
» Click the Move icon to move the selected perspective into the Visible
» Click Close. Making a Perspective Available to a Page Group
» Use the Navigator to browse to the perspective that you want to move.
» In the row for the perspective, click Move to Shared.
» In the row for the perspective, click the Delete link.
» Click Delete. Deleting a Perspective
» Enabling Oracle BPEL Approval Processes
» In the Approvals and Notifications section, click the Edit link.
» Select the Allow Page to Override the Page Group Approval Process check box.
» Click Close. Enabling Page Managers to Specify Their Own Approval Processes
» In the Approvers field in the Approval Routing List section, select one or more
» From the Portal Navigator page, choose the page group to be edited.
» Select the Properties link next to your page group. Click the Approval tab.
» From the BPEL Process User list, choose the portal user to associate with the
» From the Process Name list, choose the Oracle BPEL process definition that you
» From the Access Users list, select the users that you want to add as approvers for
» From the BPEL Process Group Mapping list, select the group that you want to
» Select Require Approval for All Users check box if every content contributor Click OK.
» Monitoring Pending Approvals Setting Up Approvals
» Enabling Draft Items Setting Up Approvals
» In the Recipients field in the Expiry Notifications section, select one or more
» In the Notification Time for Recipients field, enter how long in hours before the Click OK.
» In the region where you want to display expiry notifications, click the Add
» Click the link for the My Notifications portlet. Click OK.
» Next to the portlet, click the Actions icon.
» Click Edit Defaults. Displaying Expiry Notifications on a Page
» Changing the Page Group Quota
» Setting the Item Versioning Level for a Page Group
» Troubleshooting Content Management Oracle Fusion Middleware Online Documentation Library
» Pages and Page Types in Oracle Portal
» Creating a Sub-Page Oracle Fusion Middleware Online Documentation Library
» Creating a JSP Through the Page Creation Wizard
» Creating a JSP By Copying Another Page
» Editing Page Properties Troubleshooting Page Creation
» Enabling Item Versioning for Page Groups, Pages, and Templates
» Listing the Pages You Manage
» Viewing Page Property Sheets
» Viewing Portlet Property Sheets
» Viewing Item Property Sheets
» Assigning a Category to a Page
» Assigning Perspectives to a Page
» Specifying a Representative Image for a Page
» Selecting Default Regions for a Page
» Selecting a Default Region for a Portal Template
» Defining the Display of Sub-Page Links Troubleshooting Page Information Issues
» Locating a Page Through the Page Groups Portlet
» Locating a Page Through the Portal Navigator
» Click the Pages node to locate standard, mobile, JSP, URL, and PLSQL type
» Copying a Page Oracle Fusion Middleware Online Documentation Library
» Moving a Page Deleting a Page
» Publishing a Page as a Portlet
» Displaying a Page Through the Page Portlet
» Selecting Page Portlet Regions for Display
» Performing Bulk Actions Through List View
» Performing Bulk Actions Through the Portal Navigator
» Troubleshooting Actions on Pages
» Mobile Support in Oracle Portal
» In the Grantee field, enter the name of the user or group you will allow to
» Click Add. Adding Content to a Mobile Page
» Personalizing Mobile Pages Oracle Fusion Middleware Online Documentation Library
» Viewing Standard Pages on Mobile Devices
» Adding MobileXML to Oracle Portal Pages
» Step 1 Acquire a mobile device
» Step 2 Configure mobile access for Oracle Portal
» Step 3 Make mobile content available on Oracle Portal pages
» Using the OracleAS Wireless DebuggerSimulator Troubleshooting Mobile Pages
» Deleting a Region from a Page
» Changing the Height and Width of a Region
» Displaying or Hiding Banners
» Changing the Number of Columns and Rows in a Region
» Changing the Alignment of Items
» Click the Edit Region icon in the Sub-Page Links region
» On the resulting page, go to the Page Level Display section, and select either:
» Click Apply to save your changes and remain on the Edit Region page, or click
» From the Page Groups portlet Work In drop-down list, select the page group that
» Under Pages in the Layout Appearance section, click the link to the page with
» On the resulting page, go to the Sub-Pages section, and select any or all of the
» Click Apply to save your changes and remain on the Edit Region page, or OK to
» Setting a Uniform Height and Width for Item Icons
» Changing the Attributes Displayed in a Region
» Defining a Sort Order for Items
» Displaying or Hiding Portlet Headers and Borders
» Showing or Hiding Portlet Header Links
» Changing Portlet and Item Spacing
» Naming a Tab Working with Tabs
» In Layout view, select the check box next to any tabs you want to hide.
» Click the Hide button next to Actions at the top of the page.
» Changing the Alignment of Tabs
» Adding a Rollover Effect to Tabs
» Under Pages in the Layout Appearance section, click the link to the page where
» Click the Actions icon on the tab to be deleted
» Click the Editing Views: Layout link in the toolbar at the top of the page.
» In Layout view, select the check box next to each tab you want to delete.
» Click Delete. Deleting Multiple Tabs Simultaneously
» Troubleshooting Regions and Tabs
» Understanding Style Basics Oracle Fusion Middleware Online Documentation Library
» Creating a Style Oracle Fusion Middleware Online Documentation Library
» Items Tabs Style Element Properties
» Portlets Style Element Properties
» Changing the Portlet Body Color
» Changing Portlet Header Colors, Fonts, and Edges
» In the Style Element Properties section, choose one of the following:
» Specify a Font Size and select a unit of measurement:
» Changing Portlet Heading and Text Colors and Fonts
» Controlling Styles for Page Portlets and Navigation Pages
» Changing the Page or Region Background
» Select the element type and property relevant to the type of banner to be changed:
» In the Style Element Type section, select Common.
» In the Style Element Properties section, select Region Banner.
» In the Style Element Type section, select Items.
» In the Style Element Properties section, select Group By Banner.
» In the Style Element Properties section, select either Region Banner or
» In the Style Element Type section, choose Items.
» In the Style Element Properties section, choose either Group By Banner,
» Choose a style from the Choose Style list.
» Click OK to save your changes and return to the page.
» Applying a Style to a Region
» Publishing a Style to Other Users
» Sharing a Style Across Page Groups
» Editing a Style Oracle Fusion Middleware Online Documentation Library
» Deleting a Style Oracle Fusion Middleware Online Documentation Library
» Using Portal Style Element Classes in HTML Templates and CSSs Troubleshooting Styles
» Portal Template Uses and Benefits Portal Templates for Pages
» HTML Template Uses and Benefits
» HTML Page Skins What Are HTML Templates?
» HTML Content Layouts What Are HTML Templates?
» Comparing Template Types Understanding Templates in Oracle Portal
» In the Layout Appearance section, click the Create link next to the Portal
» In the Display Name field, enter a Display Name for the template.
» Select Make available for use in this page group if you want the template to be
» Select a banner from the Navigation Page For Banner drop-down list.
» Converting a Page to a Portal Template You can use an existing standard page
» Under Layout Appearance, click the Browse link next to the Pages heading.
» On the resulting Portal Navigator page, click the Convert to Template link next to
» In the confirmation screen, click Yes to convert the page to a Portal Template.
» In the Layout Appearance section, under the Pages heading, click the link to the
» In the toolbar at the top of the page, click the Page: Properties link.
» On the resulting page, click the Template tab to bring it forward.
» Select the Use Portal Template radio button, and select the Portal Template you
» If the page contains content, a Region Mapping section displays.
» Click OK to save your changes and open the page in Edit mode.
» In the Layout Appearance section, under the Portal Templates heading, click
» Make your changes, and click the View Template link in the toolbar at the top of
» To edit the properties of the template, click the Template: Properties link in the
» Move from tab to tab, and edit properties as desired:
» Click the OK when you are done.
» Click the Detach from Template link next to the Use Portal Template field.
» In the confirmation page, click Yes to detach the template.
» Click OK to return to the page.
» From the Page Groups portlet Work In drop-down list, select a page group to own
» Enter a display name in the Display Name field.
» Check the Make available for use in this page group check box if you want users
» Select a navigation banner to display at the top of the page from the Navigation
» Click the Add Item icon over the region that will contain the item placeholder.
» From the Content Item Types drop-down list, select Item Placeholder.
» Click Next. Oracle Fusion Middleware Online Documentation Library
» Editing Portal Template Properties
» In the Layout Appearance section, click the Create link next to the HTML
» On the resulting page, select HTML Page Skin from the Template Type
» In the Template Name field, enter a name for the HTML page skin.
» In the Template Definition field, enter HTML to define the template’s Click Create.
» Select the Use HTML Page Skin radio button.
» Select a template from the Use HTML Page Skin drop-down list.
» Click OK to save your changes and exit page properties.
» In the Layout Appearance section, under the HTML Templates heading, click
» Click OK to save your changes and exit the wizard.
» Log in to Oracle Portal. Click the Build tab to bring it forward.
» Click the Page: Properties link in the toolbar at the top of the page.
» Click the Template tab to bring it forward.
» Select the Do not use a template radio button.
» Click OK to save your change and return to the page.
» In the Layout Appearance section, click the Create button next to the HTML
» On the resulting page, select HTML Content Layout from the Template Type
» In the Template Name field, enter a name for the HTML content layout.
» In the Template Definition field, enter HTML to define the template’s
» Click Create. Creating an HTML Content Layout
» Click OK to exit the wizard once you edit the template; or click Cancel to exit the
» Under Pages in the Layout Appearance section, click the link to the page to
» Click the Edit Region icon on the region where you will apply the template
» On the resulting page, click the Attributes tab to bring it forward.
» Select Use HTML Content Layout.
» Select a content layout from the HTML Content Layout drop-down list.
» Change the selection from Use HTML Content Layout to Select Attributes. Click OK.
» In the Template Definition field, enter the HTML or other Web-standard code for
» Click Preview to see how the template definition displays.
Show more