Show TOC Start of Content Area

Procedure documentation Copying an Object or Folder (Copy / Paste)  Locate the document in its SAP Library structure

Use

The Portal Catalog lets you create portal objects by copying existing objects using the Copy Paste action available in the Portal Catalog context menu.

Note the following:

      Use only the copy and paste actions in the Portal Catalog context menu. Do not use the copy and paste commands that belong to the Web browser.

      The portal utilizes an internal clipboard to retain items you have copied; items in the clipboard of your operating system are not affected.

      If you want to move an existing object to a new location, use Cut instead of the Copy action (see Moving an Object or Folder (Cut & Paste).

      The content mirroring tool can also be used to duplicate folders and their content; however the resulting delta links are different to those created when using the Copy Paste action on a folder. For more information, see Content Mirroring.

 

Procedure

...

       1.      In the Portal Catalog, right-click the object or folder you want to copy and choose Copy.

       2.      Right-click the destination folder and choose Paste.

The Copy wizard opens.

Note

The wizard immediately locks the following objects until the copy action has been completed and the wizard closes:

§         The selected object or folder (and the objects in the selected folder)

§         The destination folder

       3.      When you copy individual objects, you need to specify the paste method for the selected object:

Paste Method

Description

Create a Copy

Creates a sibling instance of the object you have copied to the clipboard. See the figure in the Example section below.

      Sibling objects are not directly related to one another through a delta link; however, they share the same source object via delta link.

      At the time the objects are copied, the source object and the new instance are identical; however they may become different over time since they do not belong to the same delta link chain.

Typically, you would use the Create a Copy method when the source object is similar enough to what is needed for another role or location in the Portal Catalog. Adjustments can be made as needed to the new object for its new context or role.

Create a Delta Link

Creates a delta link instance (also referred to as the target object) to the source object. See the figure in the Example section below.

Use the Create a Delta Link method to create object dependencies and to extend delta link chains (see Delta Links).

When you copy a folder, you cannot specify a paste method. The source folder and its contents are copied to the new destination as a copy, and not as a delta link.

       4.      Choose Next.

       5.      In the Confirmation pane, check that the details are correct and click Finish to execute the paste action.

 

When you choose Create a Copy, and when you copy a folder, the wizard verifies the following to determine if the selected objects can be copied without further action by the user:

Verification

Description

Object dependencies

Objects can have the following dependencies:

      Internal dependency: a related object that is amongst the objects you have selected to copy

      External dependency: a related object that is not in the selection range

The wizard does not relate to external dependencies; therefore, if the source objects you are copying have related objects pointing to them, which are not in the selection range, the dependencies will not point to the duplicated objects as well.

The wizard checks for internal dependencies. If found, the wizard creates links between source objects and related objects that are in the selection range. The wizard does not alert you if there are internal dependencies.

Object locking status

Objects being edited or copied by you or another user are locked by the system. Objects or folders that are already locked by another user or portal process prevent the copy action from being executed. For more information, see Object Locking.

The wizard lists locked objects and their respective owners, preventing completion of the action.

Permissions

Administrator permissions are assigned to every object in the Portal Catalog and determine which actions can be performed by users.

To copy an object or folder, the following administrator permissions are required:

      Permission to copy the source objects.

      Permission to create objects in the destination folder.

The wizard informs you if you do not have the necessary permissions. For more information about these required permission settings, see Permission Levels.

Hidden or filtered objects

The Portal Catalog is used by many editors in the portal. Each editor displays only the objects that are relevant to it. For example, in the Portal Content Studio you may be working with iViews in a particular folder, but the iViews are not displayed in the same folder in the System Landscape Editor.

The wizard informs you if the source folder contains objects that are filtered out in the current editor. These objects are copied if you instruct the wizard to continue.

Certain semantic objects may perform additional background checks, which are not mentioned here.

 

Result

The selected objects have been successfully copied to the destination folder. All objects that were locked by the system as a result of the action are then released.

The new objects and folders inherit the permissions of the destination folder.

Note

If you cancel the action or the action is interrupted, the Portal Catalog is restored to its initial state.

 

Example

The following figure illustrates the results of using the copy and paste actions available in the Portal Catalog context menu.

This graphic is explained in the accompanying text

Figure: Creation of objects using copy/paste commands in the portal, illustrating the resulting delta link dependencies between objects

 

See Also

For more information about object instance types and how they relate to one another, see Content Object Model.

For information on creating objects from scratch in the portal, see Object Creation Wizards.

 

End of Content Area