This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Moving and Copying a Resource



Moving a Resource

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

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

Copying a Resource

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

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

 

See also Managing Entries or Content to learn how to do this from the Governance Registry Management Console.