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: Add, Replace or Remove file / Add blank page
  • 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: Add, Replace or Remove file / Add blank page

Action: Add, Replace or Remove file / Add blank page

Configuration options when Action is AddOrReplaceFile

If the selected action is AddOrReplaceFile, the following configuration option is available:

  • File

File #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File

Displayed only when Action is AddOrReplaceFile.

When expanded, the following options are available by default: File action, Source filename wildcards, Target search, and Delete original file.

File action #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > File action

Displayed only when Action is AddOrReplaceFile.

Specifies the action to be executed with the file. Select from the following options:

  • AddToCustomObject (default): Add the file to a custom object.
  • ReplaceOnCustomObject: Replace an existing file on a custom object.
  • AddFromCustomObject: Add a file from a custom object.
  • ReplaceFromCustomObject: Replace a file from a custom object.

Source filename wildcards #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > File action: AddToCustomObject / ReplaceOnCustomObject / ReplaceFromCustomObject > Source filename wildcards

Displayed only when Action is AddOrReplaceFile, and File action is NOT AddFromCustomObject.

Specifies the filename wildcards used to select files from the source object.

  1. Expand Source filename wildcards.
  2. Click on Add placeholderText.

Target search #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Target search

Displayed only when Action is AddOrReplaceFile.

Specifies the search filters to find the target object in the vault, either for adding or replacing files. Multiple search filters are combined using the OR operator (at least one filter must be satisfied). Multiple search conditions within a single filter are combined using the AND operator (all conditions must be satisfied).

  1. Expand Target search.
  2. Click on Add Search.
  3. Expand Search [1].

When expanded, the following fields are available for configuration: Status field conditions, Property conditions, and Search result type.

When Search is added, the Target search sort section becomes available, containing Sort by and Sort direction options. For details on the target search results sorting options, please refer to the Common features page.

Status field conditions #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Target search > Search [1] > Status field conditions

Displayed only when Action is AddOrReplaceFile.

These additional search conditions aid the search process by searching objects defined from the target based on a specific status.

  1. Expand Status field conditions.
  2. Click on Add Status field condition.
  3. Expand Status field condition [1].

Additional fields become available: Field, Value type, and Operator.

Field #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Target search > Search [1] > Status field conditions > Field

Displayed only when Action is AddOrReplaceFile.

Defines the status field as an additional search condition. Choose one of the following:

  • ID: This option refers to the Object ID.
  • ExternalID: This option refers to the Object ID from an external system.
  • Type: This option refers to the Object Type.
  • Version: This option refers to the object’s version.
  • Deleted: If set to True, it refers to objects that have been deleted but not destroyed. If set to False, it refers to objects that have not been deleted.

Value type #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Target search > Search [1] > Status field conditions > Value type

Displayed only when Action is AddOrReplaceFile.

Specifies expected property value. Select one of the following:

  • Static: Select this option to set a static value as a target search condition.
  • FromSource: Select this option to set a value from the source object.
  • Dynamic: Select this option to set a dynamic value as a target search condition.

Property conditions #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Target search > Search [1] > Property conditions

Displayed only when Action is AddOrReplaceFile.

Search property conditions. Property values can be static or dynamic.

  1. Expand Property conditions.
  2. Click on Add Property condition.
  3. Expand Property condition [1].

Additional fields become available: Property, Operator, Value and Mode. For further description and details, please refer to the Common features page.

Search result type #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Target search > Search [1] > Search result type

Displayed only when Action is AddOrReplaceFile.

Expected search result type.

  • Any (default)
  • None

Target filename wildcards #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > File action: ReplaceOnCustomObject / AddFromCustomObject / ReplaceFromCustomObject >Target filename wildcards

Displayed only when Action is AddOrReplaceFile, and File action is NOT AddtoCustomObject.

Specifies the filename wildcards used to select files from the target object.

  1. Expand Target filename wildcards.
  2. Click on Add placeholderText.

Delete original file #

State Actions > State Action [1] > Action: AddOrReplaceFile > Configuration > File > Delete original file

Displayed only when Action is AddOrReplaceFile.

Specifies whether the original file should be deleted when a new file is added or an existing file is replaced.

  • No (default)
  • Yes

Configuration options when Action is RemoveFile

If the selected action is RemoveFile, the following configuration option is available:

  • File

    File #

    State Actions > State Action [1] > Action: AddOrReplaceFile / RemoveFile > Configuration > File

    Displayed only when Action is AddOrReplaceFile or RemoveFile.

    When expanded, the following options are available by default: Remove file action, Source filename wildcards, Convert to single-file and Delete object of removed file.

    Remove file action #

    State Actions > State Action [1] > Action: RemoveFile > Configuration > File > Remove file action

    Displayed only when Action is RemoveFile.

    Specifies the action to be executed for removing the file.

    • RemoveFromSourceObject (default): If this option is selected, the Source filename wildcard section become available for adding and entering placeholder text. For details, please click here.
    • RemoveFromCustomObject: If this option is selected, the Target filename wildcards and Target search sections become available. For details, please click on each option.

    Convert to single-file #

    State Actions > State Action [1] > Action: RemoveFile > Configuration > File > Convert to single-file

    Displayed only when Action is RemoveFile.

    Specifies whether the object needs to be converted to a single-file after file deletion. NOTE! Conversion to a single-file can only be done if the object contains only one file.

    • No (default)
    • Yes

    Delete object of removed file #

    State Actions > State Action [1] > Action: RemoveFile > Configuration > File > Delete object of removed file

    Displayed only when Action is RemoveFile.

    Specifies whether object of the deleted file should be deleted too or not.

    • No (default)
    • Yes

    Configuration options when Action is AddBlankPage

    If the selected action is RemoveFile, the following configuration option is available:

    • Filename Wildcards
    • Blank page

    BlankPage #

    State Actions > State Action [1] > Action: AddBlankPage > Configuration > BlankPage

    Displayed only when Action is AddBlankPage.

    When expanded, the Blank page placement field is available.

    Blank page placement #

    State Actions > State Action [1] > Action: AddBlankPage > Configuration > BlankPage > Blank page placement

    Displayed only when Action is AddBlankPage.

    Choose whether to insert a blank page as the first page or the last page in the file.

    • LastPage (default)
    • FirstPage

    Updated on May 1, 2025
    On This Page
    • File
      • File action
      • Source filename wildcards
      • Target search
        • Status field conditions
        • Field
        • Value type
        • Property conditions
        • Search result type
      • Target filename wildcards
      • Delete original file
    • File
      • Remove file action
      • Convert to single-file
      • Delete object of removed file
    • BlankPage
      • Blank page placement
    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