plainblack.com
Username Password
search
Bookmark and Share
Subscribe

StorageUrl Macro

^StorageUrl(storageId,[returnType],[filename]);

This macro gets the URL to a storage location, optionally adding a filename. It takes three parameters:

  • storageId (required) — The ID to a storage location.
  • returnType (optional) — One of the following strings:
    • file - Get the url to the file (default),
    • thumb - Get the url to the thumbnail of an image. This only works with images.
  • filename (optional) — a filename to get the URL for. If not supplied, will get the first file asciibetically in the storage location.

 

Keywords: filename storage thumb thumbnail

Search | Most Popular | Recent Changes | Wiki Home
© 2018 Plain Black Corporation | All Rights Reserved