ssCore.Layout.getFileList

Get a list of files in the layout.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

format - [Optional] - Specifies the format of the returned data. If no format is specified, TEXT is assumed. In TEXT format, files are separated by carriage returns ('\r'). Valid values include: TEXT and XML.


Output Parameters:

result - The contents of the specified file.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Layout.getFileList( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Layout.getFileList( paramsObject );


Notes:

None.


Examples:

var return_obj = ssCore.Layout.getFileList({format:"TEXT"});

ssDebug.trace(return_obj.result);