Siebel Developer's Reference > Business Component Classes > CSSBCFile Class >

CSSBCFile Methods


This section describes the methods that are implemented in the CSSBCFile Class.

CreateFile

The CreateFile method creates a file in the Siebel File System from an external source.

Argument
Description

srcFilePath

The path to the source file.

keyFileName

The name of the file.

bKeepLink

Boolean indicator of whether to keep a link to the external file.

altSrcFileName

An alternative filename.

Origin

Implemented in CSSBCFile.

Invocable

You can invoke CreateFile from server script and business services.

You can also invoke this method through custom buttons and commands.

DeleteFileLink

The DeleteFileLink method deletes the link between a file in the Siebel File System and an external source.

Argument
Description

keyFieldName

The field that contains the link to be deleted.

Origin

Implemented in CSSBCFile.

Invocable

You can invoke DeleteFileLink from server script and business services.

You can also invoke this method through custom buttons and commands.

GetFile

The GetFile method copies a file from the Siebel File System into a specific directory.

Argument
Description

outFilePath

The destination path.

keyFieldName

The file to copy.

returnVal

The return value.

Origin

Implemented in CSSBCFile.

Invocable

You can invoke GetFile from server script and business services.

You can also invoke this method through custom buttons and commands.

PutFile

The PutFile method updates a file in the Siebel File System from the user's temp directory.

Argument
Description

fileName

The name of the file.

keyFieldName

The key field name.

Origin

Implemented in CSSBCFile.

Invocable

You can invoke PutFile from server script and business services.

You can also invoke this method through custom buttons and commands.

UpdateSrcFromLink

The UpdateSrcFromLink method updates a file in the Siebel File System from its external link.

Argument
Description

keyFieldName

The key field name.

Origin

Implemented in CSSBCFile.

Invocable

You can invoke UpdateSrcFromLink from server script and business services.

You can also invoke this method through custom buttons and commands.

Siebel Developer's Reference