Open topic with navigation

# RemoveDocumentPart

Removes parts of a document.

The primary reason to use this processor is to remove `contentfilename` document parts, which allows NiFi Ingest to delete temporary files. Micro Focus recommends you do this at the end of your dataflow, after extraction, filtering, media analysis, and so on.

## Properties

Name | Default Value | Description
--- | --- | ---
Remove document `content` parts | false | Specifies whether to remove document content.
Remove document `contentfile` parts | true | Specifies whether to remove binary file content.
Remove document `contentfilename` parts | true | Specifies whether to remove references to files. A `contentfilename` part of a document contains a path to a file on disk. If the file is a temporary file that is owned by NiFi, then deleting this part of the document allows NiFi to delete the temporary file.
Remove document `xmlmetadata` parts | false | Specifies whether to remove document metadata.
Compact the document | false | Specifies whether to remove unused data and minimize the size of the document.

## Relationships

Name | Description
--- | ---
success | FlowFiles that were processed successfully.
failure | FlowFiles that had an invalid or unknown format.

© Copyright 2018-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm