Adding a zip file to a page

There are two ways to add a zip file:

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

To add a zip file to a page:

  1. Navigate to the page on which you want to add the item.

    Note: If you do not see the page that you want to work with, you may not have the appropriate page access privileges. See your page group administrator to gain access.

  2. Switch to Edit mode.

  3. Click in the region in which you want to add the item.

    Note: If (the add item icon) does not display next to the region, the region may be a portlet region (and may contain portlets). In this case, you cannot add items to this region.

  4. From the Content Item Type list, choose Zip File.

    Note: If you do not see Zip File in the list, the page group to which the page belongs may not allow zip files to be uploaded, or your administrator may not have selected this item type to display here. Contact your page group administrator for more information.

  5. Click Next.

  6. In the File Name field, browse or enter the name of the file.

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

  8. Click Finish to upload the zip file and return to the page.

To extract the contents of a zip file to a page:

  1. Add the zip file to the page as described above.

  2. Click the Unzip link next to the zip file.

  3. Click Browse Pages next to the Target Page field, and select a page, or a tab on a page, on which you want to display the contents of the zip file.

  4. (Optional) Select Run Unzip In Background to run the extraction process in the background.

    If you clear this check box, you will remain on this page until the contents of the zip file have been extracted to the target page.

    Note: If the Run Unzip in Background option does not function properly, your system administrator may need to set JOB_QUEUE_PROCESSES in the init.ora file to greater than one.

  5. In the Item Type section, select the type of items that you would like to create for the different types of files in the zip file. For example, you can specify that all of the images in your zip file will be extracted as File items instead of Image items.

    1. If your zip file contains document files, such as *.doc, *.pdf, or *.htm, select an item type for these files in the File list. When the Bulk Load process is complete, an item of the type you selected is added in the target page for each file.

      Note: The list of item types may include File, Simple File, Zip File, and custom item types based on file item types.

    2. If your zip file contains image files, such as *.gif and *.jpg, select an item type for these files in the Image list. When the Bulk Load process is complete, an item of the type you selected is added in the target page for each file.

      Note: The list of item types may include Image, Simple Image, Simple Image Map, File, Simple File, Zip File, and custom item types based on image item types.

    3. If your zip file contains other zip files that do not end with a .zip extension, select an item type for these files in the Zip File list. When the Bulk Load process is complete, an item of the type you selected is added in the target page for each file. If your zip file contains other zip files that do end with a .zip extension, you do not need to select an item type here. Zip File items will be created automatically for each of the files.

      Note: The list of item types may include File, Simple File, Zip File, and custom item types based on zip file item types.

  6. In the Overwrite Or Rename Files section, choose whether to overwrite or rename existing files of the same name in the target page.

    If item versioning ("Simple" or "Audit") is enabled at the page level on the target page, an additional option "Create New Version" displays. Choose this to create a new version of any existing file(s) that have the same name as those files being extracted into the target page.

  7. 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 extraction process is underway.

    If you selected Run Unzip In Background, you will return to the page. If you did not select this option you will remain on the Bulk Load page.

  8. After the extraction process is complete, read the Bulk Load Log for information about the pages and files created and added.

    If you selected Run Unzip In Background, you can access the Bulk Load Log after the extraction process is complete by clicking Unzip next to the zip file.

Notes

Related topics

What is an item?
What are item types?
Adding an item
Editing an item
Working with Zip File items