Oracle CRM On Demand Desktop Administration Guide > XML Files Reference > XML Code to Customize Forms >

Page Element of the forms_xx.xml File


The page element describes the layout of the form. The layout is defined by a set of cell tags that contain the user interface elements and data that make up the form. Note the following requirements for the cell element:

  • A cell element can be empty or can contain a stack of cell elements in the stack element or a control.
  • A cell element can contain a user interface element or a piece of data from a native Microsoft Outlook object and from a standard or custom Oracle CRM On Demand object. If you must place more than one object in a cell, then you must use a stack element in the cell element.

A page element can contain only one cell. The page element can include the following attributes:

  • id. Contains the page name and is used nowhere else.
  • tag. Contains the control ID of the first control on the page of a standard form. It is a page that Oracle CRM On Demand Desktop uses to apply a customized layout. For example, the first control on a General tab of a Contact form uses id=0x402, Details page - 0?11cf, and so on.
  • min_height. Describes the minimum height, in pixels.
  • min_width. Describes the minimum width, in pixels.

Example Code of the Page Element

The following code is an example of the page element:

<page id="General" tag="0x0402">
   <cell>
   </cell>
</page>

Cell Element of the Page Element of the forms_xx.xml File

The cell element is a layout cell that contains a stack of cells or a control. It defines the position of the stack. It includes the following attributes:

  • size. Defines the cell size, in pixels. You must define the size if the cell is situated in a stack of cells:
    • In a stack of cells that is arranged horizontally, the size defines the cell width.
    • In a stack of cells that is arranged vertically, the size defines the height.
  • attraction. Defines cell docking. You must define the attraction if the cell is in a stack of cells. The following values are available:
    • near. The cell docks to the left side of a horizontal stack of objects or to the top of a vertical stack of objects.
    • far. The cell docks to the right side of a horizontal stack of objects or to the bottom of a vertical stack of objects.
    • both. The cell consumes the entire free space. If more than one cell is set to both, then Oracle CRM On Demand Desktop divides the free space equally between all cells that are set to both.

      The default value is near if the cell size is defined. The default value is both if there is no size.

Oracle CRM On Demand Desktop Administration Guide, Version 5.1, Rev A Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.