Exporting the default panel layout

A custom panel is referred to as a static panel. To create a static panel, you use Datacap Web Client Custom Layout Generator.

Procedure

To export the default panel layout:

  1. Open the Datacap Web Client Custom Layout Generator (http://<server>/tmweb.net/task/support/dragresize.htm).
  2. Browse to and select an .ascx file that corresponds to the panel layout that you want to export.
  3. Move or resize any labels or fields, as wanted.
  4. Click Save Panel.

    The .ascx file is in one of these folders, depending on the version of Windows that you are using:

    • C:\ (the root of the C: drive)
    • C:\Users\< username>\AppData\Local\VirtualStore
  5. Rename the file to match the page type. For example, you might name the file Rental_Agreement.aspx.
  6. Move the .ascx file into the C:\Datacap\tmweb.net\Task folder.
  7. Specify the custom panel in the task's setup.xml file.
    1. Start the Datacap Web Client and log in the TravelDocs application with the admin account.
    2. Click the Administrator tab, and then click Workflow.
    3. Select the Verify task, and click Setup.
    4. In the Verify.set.xml - Webpage dialog window, scroll to the Custom web panels section and click the Use custom web panels check box.
    5. Enter a page type and the corresponding .ascx file name for the default panel that you want to export.
    6. Click Save and close the window.
      Tip: To revert to the previous panel, clear the Use custom web panels check box and click Save.
  8. Prepare a batch for verification.
  9. Open the batch in AVerify and display at least one instance of each page type. For each page you open, Datacap creates an HTML file with the layout of the standard two-column verification panel for that page. The files are named static page_type>.htm, for example, staticRental_Agreement.htm. The files are saved in one of the following locations:
    • C:\ (the root of the C: drive)
    • C:\Users\<username>\AppData\Local\VirtualStore