Bookshelf Home | Contents | Index | PDF |
Siebel Developer's Reference > Business Component Classes > CSSBCFile Class > Methods That the CSSBCFileClass Can ReferenceThis topic describes the methods that the CSSBCFile class can reference. It includes the following topics:
You can specify each method in the Method property of a class method. This class method is a child of the CSSBCFile class. Unless noted otherwise, each of these methods returns one of the following strings: Create File MethodThe 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. Table 9 describes the arguments that you can use with the CreateFile method. Delete File MethodThe DeleteFile method deletes a file that resides in the Siebel File System or an external file. You can configure Siebel CRM to call this method from any item described in Calling a Method except from a browser script or external interface. Table 10 describes the arguments that you can use with the DeleteFile method. Get File MethodThe GetFile method copies a file that resides in the Siebel File System that is attached to the current record into a temporary directory. It allows a user to view or edit a file attachment. It returns one of the following strings:
The TmpDir parameter in the Siebel section of the .cfg file for the Siebel Business Application specifies the temporary directory. You can configure Siebel CRM to call this method from any item described in Calling a Method except from a browser script. Table 11 describes arguments that you can use with the GetFile method. Put File MethodThe PutFile method replaces a file in the Siebel File System that is attached to the current record with a copy of a file in a directory. It updates the relevant business component fields. You can configure Siebel CRM to call this method from any item described in Calling a Method except from a browser script. Table 12 describes the arguments that you can use with the PutFile method. Update Src From Link MethodThe UpdateSrcFromLink method replaces a file that resides in the Siebel File System that is attached to the current record. Siebel CRM replaces this file with an external file that is linked to the file that it replaces. If something modifies this external file, then it updates the file attachment. It updates the relevant business component fields. You can configure Siebel CRM to call this method from any item described in Calling a Method except from a browser script. Table 13 describes the arguments that you can use with the UpdateSrcFromLink method. |
Siebel Developer's Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |