Copyright © 2021 by K4.org
  (v.0.48.124)

A button which allows the user to download a file to their local machine.

Index

Rules

controlType

controlType: String

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : "DownloadButton"

fileExpression

fileExpression: String

This should contain an expression that when evaluated at the root, returns a URL to the file. Thus, string literals (such as when you have the URL string already) need to be double-quoted. Note that this is the root.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : ""

example

"'https://my.server.com/myfile.docx'"

example

"this.myChild.fileUrl"