ONE ERP FileBrowser

Install and configure

 

FileBrowser

The file browser helps users the upload/download files from the ONE ERP server, in desktop application.

The command line arguments

The file browser has a single command line argument structured like a URI:

oneerpfb://{http | https}/{the url}/{parent entity name}/{parent entity key}/{parent child relationship name}/{child entity name}/id_storage_file

The paramenters of the URI are:

http | https

If http or https should be used. This can be changed by the user in the login screen.

the url

The url of the ONE ERP server, without the protocol. Ex: devdev.oneerp.ro, 192.168.0.100:12000

parent entity name

The name of the parent entity

parent entity key

The key of the parent entity

parent-child relationship name

The name of the parent-child relationship name. This relationship will be displayed as a list in the file browser interface.

child entity name

The name of the child entity. This will be used when creating new files in the file browser interface.

FileMonitor

The file monitor is installed with the ONE ERP FileBrowser. 

The following applies to the older non-systray version of the FileMonitor:

Usage

  1. The application will monitor the folder from where it was started.

  2. If a file is detected, it is uploaded to the server and a corresponding file_monitor_upload entity is created.

  3. The implementing app on the server should listen to events on the file_monitor_upload to further handle the uploads. 

Example batch to start the monitoring program:

@echo off "c:\Program Files (x86)\ONE Software\One ERP FileBrowser\OneERP.FileMonitor.exe" /url:devdm.oneerp.ro /user:root /password:1234

Download: monitor.cmd

The command line arguments

/url:{theUrl}

The url of the ONE ERP server, without the protocol. Ex: devdev.oneerp.ro, 192.168.0.100:12000

/secure:{true|false}

If https should be used or not. Optional, default true.

/locale:{ro|en|de}

The locale for the session. Optional, default ro.

/user:{userName}

The user to authenticate with the ONE ERP server.

/password:{password}

The password.

Entities

file_monitor_upload

Property

Type

Description

Property

Type

Description

key

Integer



id_storage_file

relationship

The uploaded storage file