Skip navigation FileNet logo
  Open Client Developer's Guide
  Search  |  Index  |  Glossary   |  
Open menu Overview
Close menu Open Client Architecture
  Project Directory Structure
  Close menu Developing ASPX Pages
    ASPX Page Guidelines
    Code-Behind File Guidelines
    Open Client Guidelines
  Open menu User Interface Controls
  Open menu Data Provider
Open menu Developing for Process
Open menu Error and Exception Handling
Open menu Customizing the Framework
Globalization / Localization
Open menu General Information
   

Guidelines for Creating the ASPX Page

The following guidelines apply when creating an ASPX page for Open Client:

  • In addition to specifying the page language (FileNet Open Client uses "vb") within the script delimiters at the beginning of the file, be sure to include the name of the code-behind .aspx.vb file and the classes it inherits. For example, for the out-of-the-box HTML Step Processor ASPX page:

    <%@ Page Language="vb" Codebehind="FnStepProcessor.aspx.vb" Inherits=IdmWSX.FnStepProcessor" %>

  • Use HTML metatags to specify your generator IDE, VB as the source file language, JavaScript as the scripting language, and so on. Remember to specify the Cascading Style Sheet or template, if any, to be used. For example (using the default CSS):

    <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
    <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
    <meta name="vs_defaultClientScript" content="JScript">
    <meta name="vs_targetSchema" content="Internet Explorer 5.0">
    <script language="JavaScript" src="UserControl/DatePicker.js"></script>
    <LINK href="..\..\..\FnStyleSheet.css" type="text/css" rel="stylesheet">

  • You can specify the Form, method (either post or get), and server control, runat="server", at the beginning of the file, typically when you start the <BODY> portion of the file, and/or where appropriate. For example:

    <BODY>
    <FORM id="Main" enctype="multipart/form-data" method="post" runat="server">

    ...

    </BODY>

  • Structure how you want the page to look with HTML tags, User Controls, and .NET Controls. For example, aligning a banner User Control within a table cell, as follows:

    <tr valign="top">
    <td>
    <OpenClient:FnBannerUCId="aFnBannerUC"
    runat="server"
    NAME=aFnBannerUC" />
    </td>

  • While developing any new ASPX pages for customizing the Open Client application, ensure that if the page is using IDM COM objects, then the page directive ASPCOMPAT='True' should be set for that page. This way the ASP.NET Web application is able to utilize the STA threading model to call FileNet IDM Objects.