Move Report Folder
The following example moves a report folder to a different report folder.
- Connect to the reporting web service.
- Specify the unique identifier of the report folder to move in GUID format.
- Specify the unique identifier of the report folder where the report folder is to be moved in GUID format. To move the report folder to the root report folder use the well known identifier of the root report folder "3f836181-2109-4f5b-a1cf-b7aa8d14c212".
- The root report folder itself cannot be moved.
- The user must be a system administrator to execute this command.
Code Sample
# Moves the specified report folder to a different report folder.
$reportFolder = $reporting.GET_ReportFolder("1ca8f7bd-c306-4eb9-b2f5-1d1eac6481c9");
$reportFolder.ParentFolderIdentifier = "3f836181-2109-4f5b-a1cf-b7aa8d14c212";
$reporting.SET_ReportFolder($reportFolder);