Download File From URL Control Template Manual

Download File From URL Control Template Manual

The “DownloadFileFromURL.ctrl” template can be used to download files stored in your server, to implement this template follow these instructions:

  1. In Eclipse, copy the “DownloadFileFromURL.ctrl” file into your “Custom Templates” folder
  2. In Plex create a field called “FileURL” with this configuration:
  3. Add the “FileURL” field to the functions in which you need the download functionality, also hide its label and set the ”Control Name” property to this value: fileURL:MainArea:template=DownloadFileFromURL:default
  4. To download a file just set the value of the “FileURL” field equal to the URL from the file you need to download, the “DownloadFileFromURL.ctrl” template will automatically start the download of  the file each time you set a value in the “FileURL” field, please see our example:

  5. Generates your function and test it in Eclipse

    • Related Articles

    • CM evolveIT User Manual

      Welcome to CM evolveIT         User Training Manual                                                             Restrictive Rights This document and the product referenced in it are subject to the terms and conditions of the user License Agreement ...
    • CM WebClient File Upload Setup

      File Upload This guide will show you how to upload files to your Web Server from your WebClient application. 1. Import the attached zip Java Project into your Eclipse Workspace. 2. Right click your Java Project, and select Properties. Under “Java ...
    • Implementing the WebImageGallery custom template

      This custom template is based on galleriajs and it is applying to a Grid control. Its functionality consists of displaying a gallery of images extracted from webproject/WebContent/images folder. To implement this control please follow the steps ...
    • Web Embedded File

      This control template will allow you to display files within your WebClient page. Primarily this is used to display images dynamically on your page. 1) Copy WebEmbeddedFile.ctrl into your Custom Templates folder so that it can be referenced by ...
    • Generate the Full URL for Uploaded Files on a Server

      Most commonly when you save a file in your server you will be using a context name to define the physical location in which the files are stored and also you may be using the same context name for the file paths in your database records, see the ...