Create a Generic ASP File for eProcess Services

An Active Server Page (ASP) consists of HTML formatted text, or other content – like images, and server-side scripting (Javascript or VBScript). In many cases, the ASP includes client-side scripts. The HTML formatted content provides a framework for presenting dynamic content.

Custom applications can establish a session with the Panagon WorkFlo Services system through eProcess Services. Within the context of an ASP environment, you develop a web-based application that communicates to the IDM Objects through the Panagon Web Services JavaScript objects (for document functionality) and/or the JiGlue COM bridge (for workflow functionality). When working with the workflow functionality, you will use a scripting language (like VBScript or Javascript) in an ASP file to log on, create sessions, and retrieve information from a WorkFlo Services server through eProcess Services.

The script includes HTML tags, such as form tags, to interact with the browser user and script commands that contain logic for communication with the Panagon WorkFlo server. Since the scripting embedded in the ASP files runs on the server, only the HTML content (which might include client-side script) returns to the browser on the client system. The web server processes the server-side script and sends the HTML output to the client browser.

If you require user interaction, create a HTML form so the user can enter the necessary information. The ASP application can process the user input (for example, a request for queue names) and provide the appropriate information to the WorkFlo Services server.

Tip eProcess Services use the global.asa file to initialize the application state; however, you can use only one global.asa file for each ASP-based application on your web server.

Create web application (.ASP or .HTM) for eProcess Services by following these general steps:

  1. If you have not already done so, open Visual InterDev.
  2. Locate and open your new solution.
  3. Highlight the bolded solution site address in the Project Explorer pane (for example, your_webserver/your_webproject_name).
  4. From the menu bar, select Project. From the pull-down list, select Add Item.
  5. With Web Projects Files highlighted, select the ASP Page icon. Alternately, if you want to add an HTML page, select the HTML Page icon.
  6. In the Name field, enter the name for your new page. (The file extension is appended to the name automatically.)
  7. Click Open.
  8. Your new page displays in the Project Explorer pane, and the file contents display in development pane (in the source view).
  9. Include the appropriate .JS and .ASP files.

Refer to the Referenced Panagon Web Services Files and the Referenced Panagon Web WorkFlo files topics for information on how and why to reference specific files. Refer to Locate the Panagon Web Services Toolkit Help for more information on using the Panagon Web Services components.

  1. Include the appropriate HTML and scripting code.
  2. Save your ASP page.