Step Details | |
| Introduced in Version | --- |
| Modified in Version | --- |
| Location | Data > MS Word |
The Add Header/Footer to Word Document step allows users to establish a Header and/or Footer for a Word Document.
Properties
File
| Property | Description | Data Type |
|---|---|---|
| Input File | Microsoft Word file | FileData |
Inputs
| Property | Description | Data Type | ||
|---|---|---|---|---|
| Existing Headers/Footers | ||||
| Keep Existing | The current Headers and Footers in the document will remain unchanged | --- | ||
| Clear All Headers and Footers | Removes all Headers and Footers in the specified document. | --- | ||
| Clear Headers | Will remove the Headers from the document | --- | ||
| Clear Footers | Will remove the Footers from the document | --- | ||
| Append New Headers/Footers | ||||
| Append To Beginning | Adds the Header or Footers before any preexisting headers or Footers | |||
| Append to End | Adds the Header of the Footer after the current Headers or Footers | |||
| Different First Page | Allows users to specify a different header and footer on the first page of the document | --- | ||
| Different First Page By Section | ||||
| Section First Page Headers/ Footers | Allows users to specify the header and footer for a specific section | --- | ||
| Different on Even/Odd Pages | Allows users to specify a different header and footer on either the even or odd pages | --- | ||
| Default | Allows the user to specify the header or footer | --- | ||
| Header | Allows a user to specify the header | --- | ||
| Footer | Allows a user to specify the footer | --- | ||
Error Handling
| Property | Description | Data Type | |
|---|---|---|---|
| Too Few Sections Entered | |||
| Ignore and Continue (add output message) | Allows the user to output an error message | --- | |
| Ignore and Continue | Allows the Flow to continue | --- | |
| Throw Exception | Allows the Flow to throw an exception | --- | |
| Extra Sections Entered | |||
| Ignore and Continue (add output message) | Allows the user to output an error message | --- | |
| Ignore and Continue | Allows the Flow to continue | --- | |
| Throw Exception | Allows the Flow to throw an exception | --- | |
| Duplicate Sections | |||
| Ignore and Continue (add output message) | Allows the user to output an error message | --- | |
| Ignore and Continue | Allows the Flow to continue | --- | |
| Throw Exception | Allows the Flow to throw an exception | --- | |
Outputs
| Property | Description | Data Type | |
|---|---|---|---|
| Done | |||
| Output File | Output Word document | File Data | |
| Failed | |||
| Error | Error message | String | |

Related Information
Forum Posts:
Creating a Word Document From Flow
How To Replace File Name For “Replace Text In Word