Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

Page Parameters

Mode (mode=x)

A Page is normally called without specifying any mode. This is the normal method and all the normal information is returned.

If you are using the content for another purpose, maybe an AJAX call, you might want to change the mode.
In this case, the mode should be passed as a parameter in the URL such as mode=SIMP.

These are the valid page modes:-

  • not set - Normal Mode (0)

    Normal mode loads default Components

  • SIMP - Simple version (1)

    This will return the relevant simplified version of the page. It will include any Sub Templates required for the requested object, but exclude the Site and Main Template.
    All JavaScript and CSS will be provided in such a way that it can be included dynamically if it is not already included.
    This is usually used to make AJAX calls for page content.

  • DATA - Data version of page (2)

This will only return the data using the Sub Template specified with the subtemp= parameter. No JavaScript or CSS will be returned

  • XML - XML version of page (3)

Adds XML header and causes UDB lists to be returned in XML format. Needs the subtemp= parameter pointing to a template containing surrounding Tag information

  • EMAIL - Email version of page (4)

CSS inline, No JavaScript, Links with user ID. This will default to the Email Sub Template but one should be specified.

  • EDIT - Edit page (5)

Same as normal mode but loads Edit Components and template.

  • SIMP_EDIT (6)

Same as SIMP mode but loads Edit Components and template. Use this for embedding an edit form in a page with an AJAX call.

Sub Template (subtemp=x)

This specifies the ID of a particular Sub Template to use instead of the default.

Convert Page (CONVPAGE=x)

Return the page in one of the following formats.

  • CONVPAGE - XLSX, XLSXN, PDF,
  • XLSX - An Excel File (Works on the first table on the page)
  • XLSXN - An Excel File with no links (Works on the first table on the page)
  • XLSXF - The url to an Excel file of the page (Works on the first table on the page)
  • CSV - A CSV file (Works on the first table on the page)
  • PDF - Generates a PDF version of the page for download
  • JPG - A JPG graphical representation of the page
  • PNG - A PNG graphical representation of the page
  • GIF - A GIF graphical representation of the page

UDB Page Parameters

Mode Parameter (mode=x)

A page called without a mode parameter uses Normal Mode and returns the normal page information.

Specify a mode in the URL when using page content for another purpose, such as an AJAX call. For example:

?mode=SIMP

Valid Page Modes

Mode Numeric Value Behaviour
Not set (Normal Mode) 0 Loads the default Components.
SIMP (Simple version) 1

Returns the relevant simplified version of the page.

Includes any Sub Templates required for the requested object, but excludes the Site and Main Template.

All JavaScript and CSS are provided so they can be included dynamically if they are not already included.

Usually used to make AJAX calls for page content.

DATA (Data version of page) 2

Returns only the data using the Sub Template specified with the subtemp= parameter.

No JavaScript or CSS is returned.

XML (XML version of page) 3

Adds an XML header and causes UDB lists to be returned in XML format.

Requires the subtemp= parameter to point to a template containing surrounding Tag information.

EMAIL (Email version of page) 4

Uses inline CSS and no JavaScript.

Links include the user ID.

Defaults to the Email Sub Template, although an Email Sub Template should be specified.

EDIT (Edit page) 5 Uses the same behaviour as Normal Mode but loads Edit Components and the Edit template.
SIMP_EDIT 6 Uses the same behaviour as SIMP mode but loads Edit Components and the Edit template. Use this mode to embed an edit form in a page with an AJAX call.

Sub Template Parameter (subtemp=x)

The subtemp= parameter specifies the ID of a particular Sub Template to use instead of the default.

Convert Page Parameter (CONVPAGE=x)

The CONVPAGE parameter returns the page in one of the supported conversion formats.

Value Result Restrictions or Behaviour
XLSX Excel file Works on the first table on the page.
XLSXN Excel file with no links Works on the first table on the page.
XLSXF URL to an Excel file of the page Works on the first table on the page.
CSV CSV file Works on the first table on the page.
PDF PDF version of the page Generates a PDF version of the page for download.
JPG JPG graphical representation of the page
PNG PNG graphical representation of the page
GIF GIF graphical representation of the page
2026-10-05 17:43:00