Moving a Resource
If a resource needs to be moved, the following code can be used:
Copying a Resource
If a resource needs to be copied, the following code can be used:
Please note that you cannot move/copy resources and collections across mounts if they have dependencies or associations against it. However, movement/copying of resources can be done within a scope of a mount. For more information on mounts read Remote Instance and Mount Configuration Details.
See also Entries or Content to learn how to do this from the Governance Registry Management Console.