English (English)

Manifest File

The key file required for the data upload is the manifest file. This file contains information on what and where to upload. The file is in JSON format. It could be created in any simple text editor or using a variety of online JSON editors.

Important.

  1. The manifest file must be named manifest.json since Timeline accepts only manifest files with this name.
  2. All files to be uploaded must be listed in a single manifest.json file and zipped along with it.
  3. Place manifest.json only in the root of the ZIP file, and data files can be placed in subfolders.
  4. The manifest file must contain either repositoryToken or projectToken but not both.

For instructions on setting up the manifest, select one of the options below, depending on where you plan to upload the data.

Manifest with the repositoryToken to upload data to a repository

Manifest with the projectToken to upload data to a project

Examples of manifest

The following manifest file takes file events.csv from the ZIP, parses it into the existing repository table mytable, then copies the table into yourtable (existing data in the table is kept), and then applies to-do list mylist to it. A report will be sent to the repository owner, yourname@company.com, and yourcolleague@company.com.

{
  "repositoryToken": "k2QZiJkZuH … 8v6f8BpQEdekqjgqNxBw-E0AZUz2kdVA",
  "email": [ "yourname@company.com", "yourcolleague@company.com" ],
  "commands": [
    {
      "action": "upload",
      "file": "myfile.csv",
      "table": "mytable",
      "keepOldData": true

    },
    {
      "action": "clone",
      "src": "mytable",
      "dst": "yourtable"
    },
    {
      "action": "todo-list",
      "table": "yourtable",
      "list": "mylist"
    }
  ]
}

The next example parses files whose names match the regular expression ER_.*\.csv and uploads them to a project identified by the token. Old data from the project will be deleted.

{
  "projectToken": "y477Xdp7twCKqOuwfdxQ … bRteuBcNVNYS31YYbc5Q",
  "email": "yourname@company.com",
  "commands": [
    {
      "action": "upload",
      "fileRegex": "ER_.*\\.csv",
      "clearProject": true
    }
  ]
}

9/5/2024 4:23:54 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.