Create File Method
The CreateFile method places a copy of an external file into the Siebel File System. It updates the relevant fields in the business component so that Siebel CRM can attach it to the current record. You can configure Siebel CRM to call this method from any item described in Calling a Method except from a browser script.
The following table describes the arguments that you can use with the CreateFile method.
Argument | Description |
---|---|
srcFilePath |
Specifies the path to the source file. |
keyFieldName |
Specifies the name of the PrefixFileName field that contains the name of the file in the Siebel File System. For example, the AcctsFileName field contains the name of the file for the Account Attachment business component. |
keepLink |
If Y, then Siebel CRM stores the link to the external file. |
altSrcFileName |
Optional. If the file name that Siebel CRM creates in the Siebel File System is different from the name of the source file that it uses to copy the file, then it uses the value that the altSrcFileName argument contains as an alternative name for the source file name. |