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 Academy
    • Technical
      • Documentation
      • Release notes
      • Free trial
      • Download center
    • Support
      • Community
      • Contact
  • Solutions
    • DOCUMENT ACTIONS

      • Work with barcodes, watermarks, and images
        Automatically add and read barcodes, or add or remove watermarks and images.
      • Encrypt and decrypt files
        Automatically encrypt and decrypt files in M-Files.
      • Work with electronic and digital signatures
        Automatically add signatures and digital certificates to your documents.
      • Gain more control over your PDF files
        Merge, split, convert, undo conversion, and revert to the original document.
      • Sync data between Excel or Word with M-Files
        Populate Excel and Word files or read data from documents to update/create objects in M-Files.
      • Perform advanced file export/import
        Import files from SFTP or file share and read associated metadata. Export files and metadata. Zip/unzip documents.
      • AI and ML classification and metadata extraction
        Use the power of AI and Machine Learning to automatically classify and extract important documents

      OBJECT ACTIONS

      • Automate object creation and duplication
        Create and duplicate objects from templates and sync between vaults.
      • Validate objects and metadata
        Control object permissions and validate related objects and metadata
      • Control object numbering and versioning
        Define any custom object versioning and numbering formats

      INTEGRATIONS

      • Advanced SQL integration
        Set property values from SQL, call stored procedures, execute SQL functions, and more.
      • HTTP integrations
        Keep systems in synchronization using HTTPS and REST API.
      • Office 365 and Microsoft Azure integration
        Use Azure or Office 365 services to exchange the data with M-Files

      REPORTING AND ANALYTICS

      • Create reports from M-Files data
        Define the dataset and create scheduled or user-triggered reports in multiple formats.
      • Export M-Files data for process analysis
        Export M-Files data in event-based format for process analysis

      PROPERTY OPERATIONS

      • Automatically set property values
        Use prebuilt expressions like Math, Date, Regex, and other operations
      • Copy and set property values
        Set properties on objects or copy from other based on different rules and triggers.
      • Count and math operations on related objects
        Enumerate related objects and apply math operations on properties

      NOTIFICATIONS

      • Send emails to external parties
        Send branded emails to external parties based on predefined rules.
      • Send emails with attachments
        Define which documents you want to automatically attach to your emails.

      UI

      • Embed web pages in M-Files
        Display external reports and web pages directly in M-Files tabs.
  • 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 Academy
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Free trial
    • Support
      • Community
      • Contact
Get started free
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 Academy
    • Technical
      • Documentation
      • Release notes
      • Free trial
      • Download center
    • Support
      • Community
      • Contact
  • Solutions
    • DOCUMENT ACTIONS

      • Work with barcodes, watermarks, and images
        Automatically add and read barcodes, or add or remove watermarks and images.
      • Encrypt and decrypt files
        Automatically encrypt and decrypt files in M-Files.
      • Work with electronic and digital signatures
        Automatically add signatures and digital certificates to your documents.
      • Gain more control over your PDF files
        Merge, split, convert, undo conversion, and revert to the original document.
      • Sync data between Excel or Word with M-Files
        Populate Excel and Word files or read data from documents to update/create objects in M-Files.
      • Perform advanced file export/import
        Import files from SFTP or file share and read associated metadata. Export files and metadata. Zip/unzip documents.
      • AI and ML classification and metadata extraction
        Use the power of AI and Machine Learning to automatically classify and extract important documents

      OBJECT ACTIONS

      • Automate object creation and duplication
        Create and duplicate objects from templates and sync between vaults.
      • Validate objects and metadata
        Control object permissions and validate related objects and metadata
      • Control object numbering and versioning
        Define any custom object versioning and numbering formats

      INTEGRATIONS

      • Advanced SQL integration
        Set property values from SQL, call stored procedures, execute SQL functions, and more.
      • HTTP integrations
        Keep systems in synchronization using HTTPS and REST API.
      • Office 365 and Microsoft Azure integration
        Use Azure or Office 365 services to exchange the data with M-Files

      REPORTING AND ANALYTICS

      • Create reports from M-Files data
        Define the dataset and create scheduled or user-triggered reports in multiple formats.
      • Export M-Files data for process analysis
        Export M-Files data in event-based format for process analysis

      PROPERTY OPERATIONS

      • Automatically set property values
        Use prebuilt expressions like Math, Date, Regex, and other operations
      • Copy and set property values
        Set properties on objects or copy from other based on different rules and triggers.
      • Count and math operations on related objects
        Enumerate related objects and apply math operations on properties

      NOTIFICATIONS

      • Send emails to external parties
        Send branded emails to external parties based on predefined rules.
      • Send emails with attachments
        Define which documents you want to automatically attach to your emails.

      UI

      • Embed web pages in M-Files
        Display external reports and web pages directly in M-Files tabs.
  • 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 Academy
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Free trial
    • Support
      • Community
      • Contact
Get started free
Action: Merge or Undo merge documents
  • Do more with M-Files

Extension Kit for M-Files | Documentation

Getting Started

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

Essentials

  • How to Create Rules
  • Rule Execution
  • Common Features

Configurations

  • Orchestrator
    • About the Module
    • Configuration
    • Use Cases
  • Embedded Dashboards
    • Module Introduction
    • Configuration
  • 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 or Undo PDF conversion
      • Action: Add or Remove watermark
      • Action: Add or Remove 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
      • Add digital signature
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto State Transition
    • About the Module
    • Configuration
    • Use Cases
  • E-mail Notifications
    • Module Introduction
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
    • Simple Rule Configuration
      • Triggering options
      • Mail server
      • Email configuration
      • Delivery notification and Properties
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Extended Assignments
    • About the Module
    • Configuration
    • Use Cases
  • Extended Auto Properties
    • About the Module
    • Configuration
    • 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
    • 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: Value from and Connection string
      • SQL settings: Query and Rollback query
      • Property setting options
    • 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
  • Logging
    • Logging
  • Archiving
    • Module Introduction
    • Simple Rule Configuration
      • Triggering options
      • Action type: Compress
      • Action type: Decompress
    • Advanced Rule Configuration
      • Advanced Rule Configuration

Resources

  • Roadmap
  • Extension Kit Academy
  • Community and Support
  • FAQs
  • Release Notes
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

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
  • Community
  • Insights
  • Extension Kit Academy
  • Release notes

Get started

  • Pricing
  • Free trial
  • Contact us
  • Download center
Get updates and tips on Unitfly products!
Products Newsletter
Extension Kit Tip of the Week
Auclio Newsletter
  • Privacy & Cookie policy

© 2025 Unitfly

zicer logo negative
hamag bicro logo