File Link

Overview #

Path to a folder on the server. Allows file selection from a specified folder.

Field Type Parameters: #

  1. Folder (optional) – Folder from which a user can select a file.

Value Processing Parameters: #

Basic usage:

{{ FieldName }}

Usage with parameters:

{{ FieldName(Security, Link, Icon, Target Window) }}
  1. Security (optional) – Encrypts the file link and restricts access time.
    • (Default. Public. Direct link to the file.)
    • timelimited – (Time Limited (8-24 minutes))
    • timelimited_longterm – (Time Limited (1.5 – 4 hours))
    • hostlimited – (Time/Host Limited (8-24 minutes))
    • hostlimited_longterm – (Time/Host Limited (1.5 – 4 hours))
    • private – (Time/Host/User Limited (8-24 minutes))
    • private_longterm – (Time/Host/User Limited (1.5 – 4 hours))
  2. Link (optional) – How the link should be displayed.
    • icon-filename-link – (Clickable Icon and File Name)
    • icon-link – (Clickable Icon)
    • filename-link – (Clickable File Name)
    • link-anchor – (Clickable Link)
    • icon – (Icon (IMG tag))
    • (Default. Link Only)
    • filename – (File Name)
    • link-to-icon – (Link to Icon file)
    • extension – (Extension)
  3. Icon (optional) – Select the icon size.
    • 16 – (16px X 16px Icon)
    • 32 – (32px X 32px Icon)
    • 48 – (48px X 48px Icon)
  4. Target Window (optional) – Target browser window for opening the link.
    • (Default. Parent)
    • _blank – (New Window With Navigation)
    • savefile – (Open Save File As Dialog Window)

Example:

{{ FieldName("timelimited","filename-link",32,"parent") }}


Pure Value (Unprocessed): #

Example:

{{ FieldName.value }}


Edit Record Parameters: #

Parameters for configuring the input element for file selection.

Basic usage:

{{ FieldName.edit }}

Usage with parameters:

{{ FieldName.edit(CSS Class, Attributes) }}
  1. CSS Class (optional) – Name(s) of the CSS class(es).
  2. Attributes (optional) – Optional attributes such as: disabled, onclick, onchange, etc.

What are your feelings

Leave a Reply

Updated on January 9, 2025