• Features
  • Pricing
  • Sectors
  • Our Users
  • Resources
  • Blog
  • Contact
  • Get started for free

Knowledge Base

  • Introduction
  • User guides
  • Administration
  • System
  • Troubleshooting
  • Developers
  • Plugins
  • API
  • Help
Resource functions
  • get_resource_field_data
  • create_resource
  • update_field
  • delete_resource
  • copy_resource
  • get_resource_log
  • update_resource_type
  • get_resource_path
  • get_resource_data
  • get_alternative_files
  • get_resource_types
  • add_alternative_file
  • delete_alternative_file
  • upload_file
  • upload_file_by_url
  • get_related_resources
  • replace_resource_file
  • get_resource_all_image_sizes
  • put_resource_data
  • update_related_resource
  • resource_log_last_rows
Collection functions
  • get_user_collections
  • add_resource_to_collection
  • remove_resource_from_collection
  • create_collection
  • delete_collection
  • search_public_collections
Search functions
  • do_search
  • search_get_previews
IIIF
  • IIIF
Metadata functions
  • get_field_options
  • get_node_id
  • set_node
  • add_resource_nodes
  • add_resource_nodes_multi
User functions
  • login
  • get_users

copy_resource

Copy a resource. Note that the attached file(s) are not copied - this is a metadata and property copy only.

$from * The ID of the resource to copy.
$resource_type The ID of the resource type for the new resource.

Return values

The ID of the newly created resource, or false if the operation failed.

This site uses cookies for interactivity and analytics      Accept cookies
We offset our carbon footprint via Ecologi
About
  • Features
  • Testimonials
  • Free Trial
Download
  • Open Source Files
  • Version History
  • Knowledge Base
Services
  • Hosting & Support
  • Testimonials
  • Case Studies
Stay in Touch
  • Q&A Session
  • Blog
  • Contact
Site Information
  • Site Map
  • Privacy Policy
  • Customer Extranet

© 2021 Montala Limited. ResourceSpace and the ResourceSpace logo are trademarks of Montala Limited.