SysFileStoreManager.addFile Method [AX 2012]

Creates mapping from client side file to server side temporary file.

Syntax

public Filename addFile(Filename _defaultFilename)

Run On

Server

Parameters

  • _defaultFilename
    Type: Filename Extended Data Type
    A client side path and filename that will be stored with the file; when the file is later to be downloaded to the client, this is used as default.

Return Value

Type: Filename Extended Data Type
A server side filename that caller should use for writing the file.

Remarks

Makes sure that a SysFileStore record has been created by calling the insertSysFileStore method and creating a new SysFileStoreFile record with a unique server side filename.

See Also

Reference

SysFileStoreManager Class