Features/File managment

From TempusServa wiki
Revision as of 11:29, 9 November 2024 by Kpe (talk | contribs) (→‎Instructions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

TS solutions will often include files either as related content or generated artifacts.

All you have to do to add file support for a solution, is adding field of type Files. Office files can be edited online (WebDAV) and media files will be handled gracefully.

Note that it is also possible to bulk convert documents to structered data using AI document conversion.

WebDAV editing

WebDAV will the user to edit files directly witout the need for downloading and the uploading the files. Note that you must have WebDAV enabled software such as Microsoft Office installed.

Supported formats include

  • Word (docx)
  • Excel (xlsx)
  • Powerpoint (pptx)

If the server is added as a trusted site, it is also possible WebDAV edit files containing macros (doxm,xlsm,pptm).

Instructions

  1. Enable WebDAV in configuration
  2. Click the icon with pencil overlay to edit a file directly

Document generation

Documents can be generated by inserting data in special tags in predefined templates.

Output includes

  • Word
  • Excel
  • Powerpoint
  • PDF

Instructions

  1. Entity > Advanced
  2. In template list press: Add
  3. Upload file
    • The file can contain tags that must match field name in the solution
  4. Set displayed template name
  5. Optionally set output fieldname (must be a file field)

Document signing

Signing will be handled by extenral providers. TS supports

  • Criipto
  • DocuSign

Unless you need inetrnational signatures, TS recommends Criipto. (Docusign pricing is steep and the plans are quite unflexible).

Instructions

Use the following to set up Crriipto document signing

  1. Create an appropiate template
  2. Add an Status action
    • Activate codeunit execution
    • Set codeunit to
      • dk.tempusserva.signing.criipto.CriiptoStatusAction
      • dk.tempusserva.signing.criipto.CriiptoStatusActionGenerator
  3. Modules > Configurations
    • oauthCriiptoAllow: true
    • oauthCriiptoClient: From Criipto setup
    • oauthCriiptoHost: From Criipto setup

Media files

Media files are natively supported without the need to change anything

  • Images have thumbnails generated
  • Videos open in a player
  • Videos support streaming (jumping / skipping in the playback)

It is also possible to use specialized fields in solutions

  • Files: Pictures
    • Image uploads on mobile devices can use camera as a source
  • Files: Videos

Note that it is quite easy to set up an autmated video scaling process, if the underlying storage is S3.