Create New PowerPoint Document
UiPath.Presentations.Activities.PptDocumentCreateNew
Creates a new empty PowerPoint document in the specified location. The activity can also create a PowerPoint document from a PowerPoint template.
Project compatibility
Windows | Cross-platform
Configuration
Configure the following:
- Path - The path for the new PowerPoint presentation.
Properties
Input
- Use template - When enabled, it creates the presentation using a template provided in the Template Path or Template Resource field. When disabled, it creates a blank presentation based on a built-in default template. In addition, when you enable this option, the following are displayed:
- Template Path - The path to a PowerPoint template file
.pptx. To switch to file resource, select Use a File Resource. The current field will change to:- Template Resource - Provide the file resource that the activity will use as template for the new PowerPoint document. Select Use Local File to switch to the initial field, Template Path.
- Preserve Template Metadata - When enabled, it preserves the author and creator information from the template. When disabled, it replaces the author or creator with the current user while keeping other metadata like title and description.
- Template Path - The path to a PowerPoint template file
Options
- Conflict Behavior - Specifies what to do if a file already exists at the provided path. Select one of the following options:
- Replace
- Don't replace
- Use existing
Output
- Presentation - The generated PowerPoint presentation.