---
title: Mergefield replace actions
description: Some Mergefields are only for identifying structures in the document, for instance a Table or a Row. When the document is generated, you do not want to see these anymore. So these will not be replaced via a SINGLE ConfigType.…
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-by-configtype/mergefield-replace-actions/"
updated: "2025-08-27"
category: PDF BUTLER BY CONFIGTYPE
---

# Mergefield replace actions

Some Mergefields are only for identifying structures in the document, for instance a Table or a Row. When the document is generated, you do not want to see these anymore. So these will not be replaced via a SINGLE ConfigType.
 Of course, you do not want to see these in the resulting document.
 PDF Butler allows full control over your mergefields. The lesson shows how to control the removal of MergeFields.

[MERGEFIELD REPLACE ACTIONS v1](https://www.youtube.com/embed/CK0Az62vy8A?si=QgN9QkcP6NdW2cZe)

For few config types, you will see below option "Remove Mergefield Action"

1. None
2. Containing Paragraph
3. Merge field only

![Mergefield replace actions pic1](https://pdfbutler.com/wp-content/uploads/2023/08/Mergefield-replace-actions-pic1.png)

Below example explains how each option will work.

**Example:**

1. Create a Doc Config of type Main word document and upload this [template](https://pdfbutler.com/wp-content/uploads/2023/08/Mergefield-replace-actions.docx).
2. Open PDF Butler and create below config types and select "Remove Mergefield Action" according to the merge field names in the template.
    ![Mergefield replace actions pic2](https://pdfbutler.com/wp-content/uploads/2023/08/Mergefield-replace-actions-pic2.png)
3. Add the doc config in opportunity page and generate document.

**This is the template**

![Mergefield replace actions pic3](https://pdfbutler.com/wp-content/uploads/2023/08/Mergefield-replace-actions-pic3.png)

**This is the generated document**

![Mergefield replace actions pic3](https://pdfbutler.com/wp-content/uploads/2023/08/Mergefield-replace-actions-pic4.png)

For the Paragrapgh Config type,where you selected "Remove Mergefield Action"

1.  None- This will not remove merge field and also the paragraph after the merge field
2. Containing Paragraph - This will remove the merge field along with the paragraph containing the merge field
3. Merge field only - This will remove merge field alone.
