What are folder types?

Folder types define the contents of a folder and the information that is stored about a folder. The information stored about a folder is determined by the attributes of the folder type. For example, the Container folder type's attributes include Create Date, Author, and Display Name.

What are base folder types?

Base folder types are the folder types included with Oracle Portal. There are four base folder types:

Base Folder Type

Description

Container

Contains items.

PL/SQL

Executes a PL/SQL procedure and displays the results.

Search

Performs a saved search and displays the results.

URL

Displays an external Web site or Web page.

What are custom folder types?

But what if you want to store more information than the default folder types allow? For example, suppose you have a health and fitness content area, and you want users to be able to create folders for different types of products that includes the URL of a reference Web site for information about that type of product.

You can create your own custom folder types to meet these requirements. You base a custom folder type on one of the base folder types. When you base a custom folder type on one of the base folder types, the custom folder type automatically inherits all the base folder type's attributes. For example, if you create a custom folder type (Product) based on the Container folder type, the Product custom folder type automatically inherits all the Container folder type's attributes, including Create Date, Author, and Display Name.

After you create a custom folder type, you can edit it to add attributes that are specific to your requirements. For example, in the Product custom folder type, you want to store the URL of a reference Web site, so you would edit the Product custom folder type and add the Reference attribute to it.

Note: You must create an attribute before you can add it to a custom folder type.

In addition to adding attributes to custom folder types, you can also add calls to PL/SQL or HTTP procedures. You can pass attributes as parameters to the procedures if required. For example, if the Product custom folder type includes a Search attribute to store a search string, you could add a procedure call to a search engine and pass the search string to that search engine. When users run the search engine, the search results for the search string are displayed.

Notes

  • You cannot add attributes or procedure calls to base folder types.

  • Unlike item types, custom folder types must be based on a base folder type.

Related topics

Creating a custom folder type
Changing a custom folder type's basic properties
Adding attributes to a custom folder type

Adding procedure calls to a custom folder type
Deleting a custom folder type
What is a folder?