This documentation is for WSO2 Application Server 5.2.0. View documentation for the latest release.
Page Comparison - Moving and Copying a Resource (v.4 vs v.5) - Application Server 5.2.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents
maxLevel3
minLevel3
styleborder:1
locationtop
typeflat
separatorpipe


Moving a resource

If a resource needs to be moved, the following code can be used:

Code Block
registry.move("c1/c2/r3", "c1/c2/r4");

Copying a resource

If a resource needs to be copied, the following code can be used:

Code Block
registry.copy("c1/c2/r3", "c1/c2/r4");

Managing Entries or Content - For more information on moving and copying a resource via the Management Console.