activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Mar 19, 2025

MoveFolder

Moves a folder to the specified destination folder in Google Drive.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

 public IFolder MoveFolder(
	IFolder folder,
	IFolder destination,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)public IFolder MoveFolder(
	IFolder folder,
	IFolder destination,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)

Parameters

folder IFolder
The folder to move.
destination IFolder
The Google Drive location where to move the folder.
newName String (Optional)
The name given to the moved folder. If left blank, the moved folder will retain the original name.
conflictBehavior ConflictBehavior (Optional)
What is the expected behavior when a folder with the same name already exists in the destination folder.

Return value

IFolder - The moved folder.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.