268 IBM Content Manager OnDemand Guide
ArcI32                                                                 
ARSCSXIT_EXPORT                                                        
ARSCSXIT_API                                                           
LOADEXIT( ArsCSXitLoadExit *load ); 
Y ou can use the sample exits program to insert the action that you prefer. The input to the 
program is in the structure ArsCSXitLoadExit. This structure contains the load information, 
such as the load identifier and the application group name. Based on the load information, 
you decide whether to send a notification, to whom to send the notification, and the type of 
information you want to provide when loading is successful.
Activating the load exit
To activate the exits, place the compiled exit program arsuload in the bin/exits directory of 
the Content Manager OnDemand installation root. 
Client retrieval preview exit
Use the client retrieval preview user exit to modify document data before the data is 
presented to a client. This exit is called during the retrieval of a document. 
Y ou can use the client retrieval preview exit to add, remove, or reformat data before the 
document is presented to the client, for example:
/SM590000Y ou can remove pages from the document, such as banner pages, title pages, or all pages 
except the summary page. 
/SM590000Y ou can remove specific words, columns of data, or other information from the document. 
That is, you can omit (“white out”) sensitive information, such as salaries, social security 
numbers, and birth dates. 
/SM590000Y ou can add information to the document, for example, a summary page, data analysis 
information, and Confidential or Copy statements. 
/SM590000Y ou can reformat data that is contained in the document. For example, you can reorder the 
columns of data.
The client retrieval preview exit point might be enabled for specific applications. However, to 
enable the client retrieval preview exit for a specific application, ensure that the Use Preview 
Exit option is selected on the Miscellaneous Options page of the application.
The input to the exit program is captured when the user tries to retrieve the document. Based 
on the input, such as application group name and the indexes, you can then use your program 
to create an output file with the name from pOutFileName. 
Example 11-11 shows the header file of the client retrieval preview exit. 
Example 11-11   Header file of client retrieval preview exit
/**********************************************************************/
/* PREPEXIT - Client Retrieval Preview Exit                           */
/*                                                                    */
/*  This exit is used to modify the contents of a document prior      */
/*  retrieving the document                                           */
/*                                                                    */
/* INPUT:                                                             */
/*        pInFileName                                                 */
/*        pOutFileName                                                */
/*        pUserParms                                                  */
/*        pApplGrp                                                    */
/*        pAppl                                                       */