IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

CopyResource Method

Copies a file.

Syntax

public string CopyResource(string resourceId, string newName, string parentIds);
Public Function CopyResource(ByVal ResourceId As String, ByVal NewName As String, ByVal ParentIds As String) As String

Remarks

This method copies the file identified by ResourceId and returns the Id of the newly created copy.

The NewName parameter defines the name of the copied file.

The ParentIds parameter should be a comma-separated list of existing folder Ids to use as parents for the copied file. If left blank, the copied file will inherit the same parents of the original.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 .NET Edition - Version 20.0 [Build 8265]