Search…
⌃K
Links

shareFile

To return an URL of a specific file
Use this function to create a link to share an image or an attachment per script.
This function doesn't work in a formula field because it's modifying data.
This function will return a link, which can be saved in a URL or text field.

Syntax

shareFile(file)
shareFile(nid, string)

Return

link

Examples

shareFile(myFile) To return a URL of a specific file.
1
shareFile(Logo)
​
shareFile(record, filename) To return a URL of a specific file, i.e. image, document, or a signature field.
1
shareFile(this, "NinoxLogo.jpg")

See also

​unshareFile, which unshared a given file.
Last modified 3mo ago