Apex
CloudFiles Client

Copy Resources

This function can be used to copy resources (files/folders) from one location to another within the same external storage drive.

Apex


Parameters

  1. inputs - List of Types.CopyResourceInput object
  2. library - Type of library. Example - sharepoint. You can get this value from Content Library
  3. driveId - Only applicable for sharepoint and google library. If of the drive in the library. You can get this value from Content Library
  4. runAs - Email Id of the user on whom behalf the function should run. If you want to run the action as automation user, supply integrationUser

Return Type

This functions doesn't return anything

Example

Apex