Previous Topic: Customize the Web InterfaceNext Topic: Configure Web Interface to Let Users Transform AFP Files to PDF


Configure Web Interface to Let Users Convert Text Files to HTML, PDF, or RTF

Follow these steps to configure the CA Spool Web Interface to transform text files into PDF, HTML, or RTF automatically when users open them to browse them:

  1. Open the CAIQPOOL/ESFPARM file and verify that it specifies the following parameter:
    X2YY START=YES 
    
  2. Open the default parameters member, CAI.CBQ4PARM(CAIQPARM). Locate the following DEFNODE statements, and verify that each TCPHOST points to the swap directory. Use the following statements as models.
    DEFNODE T2PD,TEXT2PDF,TCPDRIV=DISKH,TRANS=C037T19U,   
     TCPHOST='PATH=/CAI/swap,FILENAME=*.PDFLB'      
    
    DEFNODE T2HT,TEXT2HTM,TCPDRIV=DISKH,TRANS=C037T19U,   
     TCPHOST='PATH=/CAI/swap'                       
    
    DEFNODE T2RT,TEXT2RTF,TCPDRIV=DISKH,TRANS=C037T19U,   
     TCPHOST='PATH=/CAI/swap'                       
    
  3. Open the httpd.conf file.

    This file is the web server configuration file for CA Spool web interface. By default, this file is installed in the /CAI/caspool directory. If the file does not exist there, you likely specified a custom location for the file during the installation. Review your SMP/E Apply output to find the location of the file.

    1. Find or add the following PASS statement:
      Pass               /caspool/swap/*        /cai/caspool/swap/*
      
    2. Leave the first value (/caspool/swap/*) unchanged.
    3. For the second value, specify the path to the swap directory.
  4. Locate the $esfweb.ini file.

    This file is the web server initialization file for the CA Spool web interface. By default, this file is installed in the /CAI/caspool directory. If the file does not exist there, you likely specified a custom location for the file during the installation. Review your SMP/E Apply output to find the location of the file.

  5. Verify that the $esfweb.ini file is accessible by the web server, as follows:
    1. Enter the ls –l command:
      ls -l $esfweb.ini
      
    2. Verify that the permission level is 755 or 777.
  6. Open the $esfweb.ini file and update the value of the ESF_T2YY parameter to 1, 2 or 3, as follows:
    ESF_T2YY=2         View Text as    (0=3270, 1=PDF,
    #                                   2=HTML, 3=RTF) ESF_A2PD=1       
    

    The value that you specify becomes the default format for web interface users to view text files. For example, if you specify 2, then, by default, when web interface users open text files, the files are automatically converted to HTML format.

  7. Start the CA Spool Web Interface and open the Options menu. Verify that the View Text files option is set according to your specifications in the previous step.
  8. Inform web interface end users that they can optionally override the default setting by selecting a different value in the View Text files option on their Options menus.