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:
|