Copy Asset/Delete Asset/Upload Asset/Download Asset/Upload Icon

Copying an Asset

You can create copies of most assets, including the built-in assets. This is useful for when you want to:

  • Create a backup of an asset.

  • Update an asset while keeping the original in use.

  • Use a built-in asset as the starting point for creating a new asset. You cannot edit built-in assets, but you can create a copy to use as a starting point for further refinement.

When you create a copy of an asset, the copy is initially hidden regardless of the status of the original asset.

Note:

You cannot create copies of Content Presenter display templates.

To copy an asset:

  1. In the Copy dialog, in the Display Name field, enter a name for the copy.
  2. In the Description field, optionally enter a description for the new asset.
  3. Click OK.

Deleting an Asset

When an asset is no longer required, you may want to remove it. You cannot delete built-in assets.

Note:

Before you delete an asset, you must ensure that the asset is not in use. With the exception of page layouts, if you mark an asset for deletion, it is deleted even if it is use. For page layouts, a message notifies you that the layout is in use and cannot be deleted.

To delete an asset:

  1. In the Delete dialog, click OK.

Uploading an Asset

Note:

You cannot download an asset from one portal, then upload that same asset to another portal. In other words, migrating assets from one portal to another is not supported. To use an asset across multiple portals, the asset must be created as a shared asset.

When you upload an asset to WebCenter Portal:

  • Existing assets with the same internal ID are overwritten.

  • Portal assets are uploaded back only into their original portal. You cannot upload a portal asset into a different portal.

  • Assets must be in an archive file format on your local file system or a remote server.

To upload an asset:

  1. In the Upload dialog, select:
    • Look on My Computer to upload an archive file from your local file system. Click Choose File to locate the file.

    • Look on WebCenter Portal Server to upload an archive file from a remote server file system. In the field below, enter the location on the server where the file is located.

  2. Click Upload.
  3. If the asset already exists in the portal, click Yes to confirm that you want to replace the asset with the contents of the archive file.
  4. Click OK in the resulting success dialog.

    Note:

    Artifacts used or referenced by assets, such as icons and images, are not included in the archive when an asset is exported. When you upload the asset, you must manage and move dependent artifacts manually. We recommend that you use a folder structure on your content server specifically for asset artifacts so that content is easy to identify and move, if required.

    If you are managing legacy assets that store artifacts in MDS, Oracle recommends that you relocate dependent artifacts to your content server. However, if you do need to move artifacts stored in MDS, you can use the MDS WLST commands exportMetadata and importMetadata.

Downloading an Asset

Note:

You cannot download an asset from one portal, then upload that same asset to another portal. In other words, migrating assets from one portal to another is not supported. To use an asset across multiple portals, the asset must be created as a shared asset.

When you download an asset, its configuration is saved into an archive file. You can save the archive file either to your local file system or a remote server file system.

To download an asset:

  1. In the Download dialog, in the Archive File Name field, enter a name for the archive file. The archive file must have the .aar extension.
  2. Select:
    • Save to My Computer to save the archive file to your local file system. When you click the Download button you are prompted for the location on the file system where you want to save the file.

    • Save to WebCenter Portal Server to save the archive file to the portal server file system. The .aar archive file is saved to the default path DOMAIN_HOME/WC_Archives, where DOMAIN_HOME refers to the domain location where WebCenter Portal is installed.

  3. Click Download.
  4. If you selected to save the archive file to your local file system, you are prompted to specify the location where you want to save the file.
  5. After downloading the asset, you can then import it into the IDE of your choice, such as JDeveloper.

Note:

Artifacts used or referenced by assets, such as icons and images, are not included in the archive when an asset is downloaded. You must manage and move dependent artifacts manually. Oracle recommends that you use a folder structure on your content server specifically for asset artifacts so that content is easy to identify and move, if required.

If you are managing legacy assets that store artifacts in MDS, you can relocate dependent artifacts to your content server. However, if you do need to move artifacts stored in MDS, you can use the MDS WLST commands exportMetadata and importMetadata.

Uploading an Icon

Upload Icon—You can upload an icon to display in the Define Data Visualization wizard to represent the custom visualization template. The icon image file must be of file type GIF, PNG, or JPG, and should be no larger than 150K and 200x143 pixels for best results.