Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Provides a database to manage binary files. Each stored file is identified with a globally unique identifier (Guid) at a domain level.

Files can be uploaded to a database with with the File control from user interface or can be created with scripting environment $Files object.

Accessing

...

a File

Unique file id can be use used to build a URL address in "http(s)://mydomain.emakin.com/file/<fileId>" format. This file url can be accessed with from anonymous environment.

Info
titleSecurity

Generated guid values are already secured, so there is no need for additional security to be performed. But IP restriction can also be also applied at a domain level if it is required.

Accessing to the file by default shows the preview application, if it is supported. If you want just to just download, please use the "http(s)://mydomain.emakin.com/attachment/<fileId>" format to force.

Revisioning

In emakin every file has its own unique identifier, and any update on the file is stored with new identifier and marked as "revision". When revision is completed, the new file content is replaced with the old file to keep id number same.

Updates from user interface is are automatically handled, but in scripting environment you may need to use Files.Replace method to update revision.