UiPath Documentation
activities
latest
false
Productivity activities

AddDocument

Creates a new Google document.

Creates a new Google document.

Namespace: UiPath.GSuite.Activities.API

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

Syntax​

IDocument AddDocument(
	GDriveRemoteItem parentFolder,
	string documentName,
	ConflictBehavior conflictResolution = ConflictBehavior.Fail
)
IDocument AddDocument(
	GDriveRemoteItem parentFolder,
	string documentName,
	ConflictBehavior conflictResolution = ConflictBehavior.Fail
)

Parameters​

parentFolder GDriveRemoteItem : The folder where to create the document. If null, the document is created in the root folder.

documentName String : The name of the document to be created.

conflictResolution ConflictBehavior (Optional) : The expected behavior when a document with the same name already exists in the destination folder.

Return value​

IDocument - The newly created document.

  • Syntax​
  • Parameters​
  • Return value​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated