Available for: Content Management Server, Template Engine, Search Engine Server
Task: Loads the specified file and returns its contents as a base64-encoded string.
Syntax:
encodeFile filename
Function parameters:
filename
is the name of the file.Return value if successful: the base64-encoded contents of the file (string)
Necessary permissions (CM only): no restrictions