Direkt zum Hauptinhalt

Importer for Windows

Download the importer

See Downloads for recent compiled setups. The importer can be also downloaded at Github. The most recent version to find is https://github.com/sismics/docs/releases/download/v1.5/docs-importer-win.exe (which is an old one). We can also build ourselves. See below.

Building the importer

Requirements

Check your %PATH% variable. This should contain the following executables

  • nodejs.exe
  • git.exe

Open elevated CMD Shell

  1. press CTRL + R to open "Run"
  2. Enter "cmd"
  3. Click ok

    grafik.png


  4. Start elevated shell from current cmd. This will open up a new cmd shell with admin privileges

    grafik.png

Clone Repository and run build

cd C:\
git clone https://github.com/sismics/docs.git
cd docs\docs-importer
npm install
npm install -g pkg
pkg .

grafik.png

Check the built output

grafik.png

Configure to use the importer

Create new share upload directory

A special upload folder should be created, e.g. C:\TeedyShare - from this folder the documents will be uploaded and cut later.

Start docs-importer-win.exe and configure it

Please put the docs-importer-win.exe to some fixed place where it should stay, like in C:\Teedy\docs-importer-win.exe

grafik.png

Note that the screenshot contains some older directory name.

After entering the connection data this information will be persisted in %userprofile%\config\preferences\com.sismics.docs.importer.pref

Start as daemon and test upload

The program can be started with the switch -d. It queries the specified folder every 30 seconds and uploads any existing documents to the DMS. The files are then deleted locally.

grafik.png

Install as Windows Service

Create file C:\Teedy\teedy-service.ps1

Start-Process -WindowStyle hidden -FilePath C:\Teedy\docs-importer-win.exe -ArgumentList "-d"

Create a new task in task scheduler

Sorry for german screenshots. And please replace "SismicsDocs" with "Teedy" everywhere.

grafik.png grafik.png grafik.png grafik.png grafik.png grafik.png grafik.png

Check if service is running. Look for docs-importer-win.exe

grafik.png

Create a new Desktop Shortcut for your share directory

grafik.png