Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - ResourceItemCopy
Copies a ResourceItem, and returns the definition XML of the new item.
Declaration
public string ResourceItemCopy ( string apiKey, string resourceName, string itemID, string newName, string folderPath );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
resourceName | The name of the resource | |
itemID | The ID of the item to copy | |
newName | The name for the new ResourceItem | |
folderPath | The location (relative path within the Resource's tree) for the new ResourceItem |
Returns
Definition XML of the ResourceItem
Security rights needed
Add
Apply on resource
Resource from function parameter resourceName