Accessing AB Suite Applications from ASP.NET Web Forms

To access the AB Suite application from ASP.NET web forms, perform the following:

  1. Build the AB Suite application with User Defined View Generator property set to ASP.NET Web Forms in the Bundle Folder Property Pages dialog box.

    Refer to the Agile Business Suite Developer User Guide for more information on how to build the application. At a minimum, to build the application, you must specify the properties mentioned in Accessing AB Suite Applications from Presentation Client.

  2. Create a view of the AB Suite application using the Runtime Administration Tool.

    Refer to section 2, "Runtime Administration" in the Agile Business Suite Runtime for Windows® Operating System Administration Guide for more information on how to create a view.

  3. Create a virtual directory for the AB Suite application using the SetupASPNet.vbs file located in the path, <root folder>:\NGEN_CE\ASP.NET Generator\Utilities\Setup.

    Refer to Configuring ASP.NET Web Forms for more information on how to create a virtual directory, Run CompileASPNet.bat from <root folder>\NGEN_CE\classes\com\unisys\<AB Suite application name>\<bundle folder name>\views.

  4. Configure the Web.config file present in the views folder of the AB Suite application.

    Refer to The Web.Config File Described for more information on configuring the Web.config file, At a minimum, you must specify the following values:

    • ApplicationName Example: Sample

    • BundleName

      Example: aspdotnet

    • DisplayName

      Example: Sample

    • PackagePrefix Example: com.unisys

    • ConnectionMode

      Example: 2

    • HostURI

      Example: x-ratl:localhost:2889

    • HostViewName| Example: SampleView

    • HostLogin Example: AppUser

    • HostPassword

      Example: App1User

    • HostDomain

      Example:.

      Note: In the above example, “.” represents the domain name.

  5. Type the following in the address bar of Internet Explorer. “http://<deployment host name>/<AB Suite application name>_<bundle_folder name>/default.aspx”.

    The AB Suite application appears in the browser with a list of Ispecs.

    Note: If you specify an Ispec as the Fireup Ispec in the Segment properties, the application displays the same Ispec, instead of a list of Ispecs

  6. In the browser, select the required Ispec and click OK.

    The selected Ispec appears.