Preview - Programmers Usage
Reference

 
Configuration
This component can be added to all web applications so it can be used to manage user sessions and passwords.  Do the following configuration steps.
  1. SHARELIB & CDISCDAT Definition - Define the SHARELIB libname in the Appstart.sas. For more instruction, please click here.
      
  2. SHARECOM.JS - Copy the following JavaScript code into an js file named "SHARECOM.JS". This can be stored in SHARECOM.JS or in centralize location. Please pay attention to the items marked in highlight and change to match your configuration.
      
  3. WPREVIEW.SCL - Copy the following SCL code into a an entry named "WPREVIEW.SCL".  This can be stored in the SHARECOM or in a centralized location. Please pay attention to the items that marked in highlight and change to match your configuration.
      
  4. Preview Button - Please paste the following code segment in all your program forms and change the item marked in highlight to match your configuration.

    <input type="button" value="Preview" name="btnPreviewDat" id="btnPreviewDat" onclick="previewDat('cboSource', 'lstDatasets');">

 
   last updated on November 19.2007    
   by Thanh Huynh