IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

copyResource (method)

Copies a file.

Syntax

- (NSString*)copyResource:(NSString*)resourceId :(NSString*)newName :(NSString*)parentIds;
public func copyResource(_ resourceId: String, _ newName: String, _ parentIds: String) throws -> 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 iOS Edition - Version 20.0 [Build 8265]