IPWorks Cloud 2020 Kotlin Edition

Questions / Feedback?

CopyResource Method

Copies a file.

Syntax

public fun copyResource(resourceId: String?, newName: String?, parentIds: String?): 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) 2021 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Kotlin Edition - Version 20.0 [Build 7941]