📢 New on-demand webinar: Extend AI capabilities in M-Files without coding!  WATCH NOW

Extension Kit for M-Files | Unitfly
  • Solutions
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Core Expert Tips
      • Extension Kit Academy
      • Newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
  • Capabilities
    • Integrations and data sync
    • AI capabilities
    • Document automation and processing
    • Metadata and object automation
    • Reporting and insights
    • Workflow management
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
    • Auclio ↗
  • Pricing
  • Resellers
  • Resources
    • Learning
      • Insights
      • Expert tips
      • Extension Kit Academy
      • Subscribe to our newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
Get started free

📢 New on-demand webinar: Extend AI capabilities in M-Files without coding!  WATCH NOW

Extension Kit for M-Files | Unitfly
  • Solutions
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Core Expert Tips
      • Extension Kit Academy
      • Newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
  • Capabilities
    • Integrations and data sync
    • AI capabilities
    • Document automation and processing
    • Metadata and object automation
    • Reporting and insights
    • Workflow management
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
    • Auclio ↗
  • Pricing
  • Resellers
  • Resources
    • Learning
      • Insights
      • Expert tips
      • Extension Kit Academy
      • Subscribe to our newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
Get started free
Action: Merge or Undo merge documents
  • Do more with M-Files

Extension Kit for M-Files | Documentation

Getting Started

  • User Interface
  • About Extension Kit Core
  • Installation
  • Groups and Modules

Essentials

  • How to Create Rules
  • Rule Execution
  • Common Features

Configurations

  • Orchestrator
    • About the Module
    • Configuration
    • Use Cases
  • Environments
    • Calendar
    • Mail server
  • Object Templates
    • About the Module
    • Configuration
    • Use Cases
  • Property Calculations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options
      • Calculation options
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Property Operations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Target-related Options
      • Property error handling behaviour and Act as user
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Document Processing
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options and State actions
      • Action: Convert to PDF, Undo PDF conversion or Convert to searchable PDF
      • Action: Add or Remove watermark
      • Action: Add or Remove signature
      • Action: Add digital signature
      • Action: Merge or Undo merge documents
      • Action: Restore original / Sync file names with object title
      • Action: Add or Read barcode
      • Action: Add, Replace or Remove file / Add blank page / Rename file
      • Action: Split document
      • Action: Encrypt or Decrypt file
      • Action: Optical Text Extraction
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto State Transition
    • About the Module
    • Configuration
    • Use Cases
  • E-mail Integration
    • Module Introduction
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
    • Simple Rule Configuration
      • Triggering options and action types
      • Mail server and email configuration
      • Delivery notification and Properties
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Extended Assignments
    • About the Module
    • Configuration
    • Use Cases
  • Extended Auto Properties
    • Configuration
    • About the Module
    • Use Cases
  • Extended Permissions
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Permission Options
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto Numbering Properties
    • About the Module
    • Configuration
    • Use Cases
  • Object Operations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Action: Create objects
      • Action: Duplicate objects
      • Action: Delete objects
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Property Builder
    • About the Module
    • Configuration
    • Use Cases
  • Validation
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options
      • Property validation rules
    • Advanced Rule Configuration
      • Advanced rule configuration
      • Advanced Property validation rule configuration
  • SQL Integration
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options and Execution mode
      • SQL settings: Query and Rollback query
      • Property setting options
      • SQL settings: Value from and Connection string
    • Advanced rule configuration
      • Advanced rule configuration
  • HTTP Integration
    • About the Module
    • Configuration
    • Use Cases
  • Excel Reader
    • About the Module
    • Use Cases
    • Configuration
  • Excel Writer
    • About the Module
    • Configuration
  • Word Reader
    • About the Module
    • Configuration
  • Word Writer
    • About the Module
    • Configuration
  • Extension Methods
    • About the Module
    • Use Cases
    • Configuration
  • Versioning
    • About the Module
    • Configuration
    • Use Cases
  • Reporting
    • About the Module
    • Configuration
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
  • Data Transfer
    • Configuration
    • Use Cases
  • Vault to Vault
    • About the Module
    • Configuration
    • Use Cases
  • Archiving
    • Module Introduction
    • Simple Rule Configuration
      • Triggering options
      • Action type: Compress
      • Action type: Decompress
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Embedded Dashboards
    • Module Introduction
    • Configuration
  • Document AI
    • Module Introduction
    • Simple rule configuration
      • Triggering options
      • Document AI options
      • Microsoft Foundry AI Action
      • Azure Document Intelligence AI Action
      • Property Mapping and Smart Lookup
    • Advanced rule configuration
      • Advanced rule configuration
  • XML Processing
    • Module Introduction
    • Configuration
  • Logging
    • Logging
    • Targets
    • Logging: Best practices
    • Sending logs to support

Resources

  • Roadmap
  • Release Notes
  • Extension Kit Academy
  • Community and Support
  • FAQs
  • Expert tips
    • General features
    • Integrations
    • Property operations
    • Object operations
    • Content operations
    • Other modules
View Categories
  • Home
  • Documentation
  • Extension Kit Core
  • Configurations
  • Document Processing
  • Simple Rule Configuration
  • Action: Merge or Undo merge documents

Action: Merge or Undo merge documents

0:00 / 6:38
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Export PDF Download this page as a PDF
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

Configuration options when Action is MergeDocuments #

How this action works: Merging two PDF files results in a single PDF file. Merging two Word files produces a single Word file. Merging a PDF file with a Word file results in a PDF file.

If the selected action is MergeDocuments, the following configuration options are available:

  • Filename Wildcards (placeholderText)
  • Merged file action
  • Merge files

Filename Wildcards (placeholderText) #

State Actions > State Action [1] > Action: MergeDocuments > Configuration > Filename Wildcards > PlaceholderText

Filename wildcards are used to select files from the object on which the action will be executed.

The selected file will be used as the source object. If you choose to add another file, it will be merged into this one.

Merged file action #

State Actions > State Action [1] > Action: MergeDocuments > Configuration > Merged file action

Displayed only when Action is MergeDocuments.

Specifies an action that will be executed with the merged file.

  • AddToSourceFile (default): Merging is performed within the existing file on the source object. This means that the defined files are added to the existing file as specified in the merge action.
  • CreateNewFileOnSource: A new file is created, which includes the merged content of all defined files, and added to the source object. Selecting this option opens the Merged file name and Delete original file options.
  • CreateNewObject: A new object is created, containing a new file that includes the merged content of all defined files. Selecting this option opens the New object section and Merged file name and Delete original file options.

Merged file name #

State Actions > State Action [1] > Action: MergeDocuments > Configuration > Merged file action: CreateNewFileOnSource > Merged file name

Displayed only when Action is MergeDocuments and Merged file action is CreateNewFileOnSource.

Specifies the name of the merged file, which can be either a static or dynamic value that references properties from the source.

Delete original file #

State Actions > State Action [1] > Action: MergeDocuments > Configuration > Merged file action: CreateNewFileOnSource > Delete original file

Displayed only when Action is MergeDocuments and Merged file action is CreateNewFileOnSource.

Specifies whether to delete the original file that is going to be merged. Choose one of the options:

  • No (default)
  • Yes

New object #

State Actions > State Action [1] > Action: MergeDocuments > Configuration > Merged file action: CreateNewObject > New object

Displayed only when Action is MergeDocuments and Merged file action is CreateNewObject.

This section allows you to configure the new object that will be created from the merged file. When expanded, you can set the Object type, Class, Name and Properties.

Merge files #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files

Displayed only when Action is MergeDocuments.

  1. Expand Merge files.
  2. Click on Add Merge file.
  3. Expand Merge file [1].

Within this section, you’ll find the following fields by default: Insert location, Delete file on merge, File.

Insert location #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge file [1] > Insert location

Displayed only when Action is MergeDocuments.

Specifies the location in the document where the file(s) will be inserted.

  • Start: File(s) will be added at the beginning of the ‘source’ document.
  • End (default): File(s) will be added at the end of the ‘source’ document.
  • AfterPage: File(s) will be inserted immediately after the selected page. The Page field will be available for specifying the exact page number.

Page #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge file [1] > Insert location: Afterpage> Page

Displayed only when Action is MergeDocuments and Insert Location is Afterpage.

Specifies the page number of the original document after which the file(s) will be inserted. The default page number is 1.

Delete file on merge #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge file [1] > Delete file on merge

Displayed only when Action is MergeDocuments.

Specifies whether the file should be deleted from the object after merging. Choose one of the following options:

  • No (default): The file will not be deleted after merging.
  • Yes: The file will be deleted after merging. If selected, the Delete object on merge field will become available for further configuration.

Delete object on merge #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge file [1] > Delete file on merge: Yes > Delete object on merge

Displayed only when Action is MergeDocuments and Delete file on merge is Yes.

Specifies whether the object should be deleted after the merge. Choose one of the following options:

  • No (default): The object will not be deleted after the merge.
  • Yes: The object will be deleted after the merge.

File #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge file [1] > File

Displayed only when Action is MergeDocuments.

Specifies the file(s) to add to the document. When expanded, the Mode and Filename wildcard fields will become available for further configuration.

Mode #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge file [1] > File > Mode

Displayed only when Action is MergeDocuments.

Specifies the object selection mode.

  • CustomObject: Select any custom object from the vault. If selected, the Custom object and Search timeout (sec) options are available.
  • SourceObject: Select the current source object.
  • Reference: Select any reference of the source object. If selected, the Reference expression field is available.

Filename wildcard #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge files [1] > File > Filename wildcard

Displayed only when Action is MergeDocuments.

Specifies a filename wildcard used to select a file from the object. For example, if the system finds a multi-file document as a source, you can specify which file will be used for merging. Also, a universal wild card pattern * is supported.

Custom object #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge files [1] > File > Mode: CustomObject > Custom object

Displayed only when Action is MergeDocuments and Mode is CustomObject.

When expanded, the Search conditions field is available for setting the conditions to find the custom object.

Search timeout (sec) #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge files [1] > File > Mode: CustomObject > Search timeout (sec)

Displayed only when Action is MergeDocuments and Mode is CustomObject.

Search timeout applied to object search operation, expressed in seconds. The default is 0.

Reference expression #

State Actions > State Action [1] > Action: MergeDocuments> Configuration > Merge files > Merge files [1] > File > Mode: Reference > Reference expression

Displayed only when Action is MergeDocuments and Mode is Reference.

Specifies the property reference expression for files to be merged from related objects. Use this field if the files to be merged are located on related objects. For example: If the source object has a property named Documents that contains the objects with files, the expression should be: {Documents}.


Configuration options when Action is UndoMergeDocuments #

If the selected action is UndoMergeDocuments, the following configuration options are available:

  • Filename Wildcards
  • placeholderText

For details, please click here.

Updated on May 1, 2025
On This Page
  • Configuration options when Action is MergeDocuments
    • Filename Wildcards (placeholderText)
  • Merged file action
    • Merged file name
    • Delete original file
    • New object
  • Merge files
    • Insert location
    • Page
    • Delete file on merge
    • Delete object on merge
    • File
    • Mode
    • Filename wildcard
    • Custom object
    • Search timeout (sec)
    • Reference expression
  • Configuration options when Action is UndoMergeDocuments
Extension Kit for M-Files | Unitfly
Extension Kit for M-Files | Unitfly
  • Solutions

Products

  • Extension Kit Core
  • Extension Kit Document AI
  • Extension Kit REST Object Type
  • Extension Kit Cloud Connector
  • Extension Kit Process Intelligence

Resources

  • Documentation
  • Insights
  • Extension Kit Academy
  • Release notes
  • Join the community
  • Contact support

Get started

  • Pricing
  • Free trial
  • Contact us
  • Download center

Get updates and tips on Unitfly products!

Select the lists you wish to subscribe to
  • Privacy & Cookie policy

© 2026 Extension Kit for M-Files by Unitfly