Skip to main content
The connector distribution package contains a sample FlexiCapture project named “InvoiceDemoProject,” which is configured to be used in conjunction with the sample vault. To start working with this project, open it on the FC Project Setup Station and upload it on to the FlexiCapture Application Server. Click Project → Batch Types… to open the list of batch types. The InvoiceDemoProject project contains two batch types:
  • Unattended service – This batch type is configured to be used in the scenario where documents are sent from M-Files to FC for automatic processing.
  • Attended service – This batch type is configured to be used in the scenario where documents sent from M-Files may require verification.
A script is used to export processing results to M-Files. In the script, specify the connection settings to be used to connect to the M-Files server:
  1. Open the project on the Project Setup Station and press Ctrl+T to open the list of Document Definitions.
  2. Select the Document Definition named “European Invoice” and click Edit….
  3. In the Document Definition Editor dialog box, click Document Definition → Document Definition Properties….
  4. On the Export Destinations tab, start editing the script for the Export to MFiles export profile.
  5. Specify the connection settings to be used to connect to the M-Files server in the following lines:
    • connectorSettings.DmsConnectionSettings.Server = “http://M-Files-server
    • connectorSettings.DmsConnectionSettings.Credentials.Username = @“username”
    • connectorSettings.DmsConnectionSettings.Credentials.Password = “password”
  6. Save the changes and publish the Document Definition.