Adding a Zip File item

If you want to replicate your file system or Web site, you can use the Item Wizard and choose the Zip File item type to add a set of files in a single operation. For each directory in the Zip File, Oracle Portal creates a folder and for each file, Oracle Portal creates a file or image item as appropriate. The directory-file relationship of your file system is maintained in a folder-item manner in your content area. For more information, see Working with Zip file items.

If you want to add a regular Zip file to your content area, see Adding a file item.

You must be logged on as a folder owner or an authorized user with the appropriate folder or item-level privileges.

Adding a Zip item:

Note: If you are already in the folder in which you want to add an item, skip to step 4.

  1. In the Navigator, click the Content Areas tab to navigate to Path: Content Areas.

  2. In the Name column, click the content area link that contains the item you want to work with.

  3. The content area home page (root folder) is displayed with all the sub-folder links that were chosen.

    • If necessary, click a sub-folder link to view the contents of a given folder.

    • If you do not see the folder that you want to work with, this means that you have not been granted the appropriate folder access privileges. See your content area administrator to gain access.

  4. Click Edit folder located on the main banner to switch to Edit mode.

  5. From the folder dashboard, click Add Item to display the Item Wizard.

  6. From the Item Type list, choose Zip File.

  7. Click Next.

  8. In the Folder Region field, click the radio button next to the name of the folder region where you want this file item to appear.

  9. In the Display Name field, enter the item's link text. This is what users will click to view the item.

  10. Choose a category that best describes what this item is (its content) and enter a description for this item.

  11. In the Publish Date field, enter the exact date on which this item is displayed to public users.

Note: If you are the item or folder owner or were granted the Manage Items privilege, this item is immediately accessible in Edit mode.

  1. In the Expiration Period field, choose whether you want this item to be always available, available only for a specified number of days (calculated from the publish date), or if it expires on a specific date (DD-MON-YYYY).

  2. Click Next.

  3. Perspectives describe the audience or interest area for the item. In the Perspectives field, click the appropriate move arrow to move a perspective from the Available Perspectives to the Displayed Perspectives list. Use the appropriate up and down arrows to determine the order that the perspectives are displayed next to the item.

Notes:

  • Unlike categories, you can choose more than one perspective for an item. For example, a sales report might belong to both the Sales Representative and Marketing Manager perspectives.

  • You can select multiple perspectives by holding the Ctrl key while clicking each perspective you want.

  • Hover over the arrows for hint text.

  1. Enter or browse to the location of the image file that you want to associate with this item and then select how the image is aligned in the folder area.

  2. Enter a keyword used to locate this item in a basic search and enter a name for the author.

Note: By default, the Author field is filled with the name of the initial logged on user.

  1. Select the appropriate check boxes to enable document control or hide the item in View mode.

  2. Click Finish to save your changes and return to the folder area.

A page with results similar to the following is displayed:

  1. Click the Unzip link next to the Zip file item.

The Bulk Load page appears.

  1. In the Target Folder section, enter the name of the target folder where your items are added.

Or, click to choose a folder from the Content Area Map.

  1. Select Run Unzip In Background to continue working while the Bulk Load process is underway.

  2. In the Item Type section, choose the option that corresponds to the type of files in your Zip File item: File, Image, or Zip File. When the bulk load process is completed, an item is created for each file in the parent's Zip File item. For example, if your Zip File item contains five separate files, then five separate items are created and appear in the target folder.

    Notes:

    • If custom item types were created, these also appear in the Item Type list.

    • Oracle Portal maintains the directory structure in Zip File items. If your Zip File item contains directories, Oracle Portal would create sub-folders inside the target folder upon completion of the Bulk Load process.

  3. In the File Posting Mode section, choose if you want to overwrite or rename file names of the same name in the target folder.

  4. Click Unzip to begin the file extraction process. This process may take several minutes depending on the number and size of the files. Do not extract another Zip file while the Bulk Load process is underway.

When the process is completed, an item for each extracted file or folder is displayed in the folder area. You can click Edit folder to switch to Edit mode.

  1. After the items are added, you can read the Bulk Load Log for information about the folders and files created and added.

Notes

  • If no author is specified, it defaults to the logged on user performing the bulk load process.

  • If you are uploading an HTML file with a title, the text between the <TITLE></TITLE> tag becomes the item's display name link.

  • Item attributes such as Author, Description, Expiration Date, Image, New Item Indicator, and so on are displayed in the folder area only if they were chosen to display. For more information, see Choosing item attributes to display in a folder region.

  • Only items that were added as a "Zip File" item type display the "Unzip" link.

  • When adding or editing an item, if the Display Name field is left blank, the link text that appears is "View."

Related Topics

What is an item?
What are item types?

Displaying an item property sheet
Adding an item
Editing an item