UiPath Documentation
activities
latest
false

Productivity activities

RenameItem

Renames a file or folder in OneDrive or SharePoint.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

IDriveItem RenameItem(
	IDriveItem item,
	string newName
)
IDriveItem RenameItem(
	IDriveItem item,
	string newName
)

Parameters

item IDriveItem : The file or folder to rename.

newName String : The new name for the file or folder.

Return value

IDriveItem - The renamed file or folder.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated