Siebel CRM Desktop for Microsoft Outlook Administration Guide > Additional Code in the Customization Example >

XML Code That Creates Cells


To define part of the layout of the form, you add the following code to the forms_12.xml file:

<stack layout="horz" spacing="3">

<!-- left side captions -->

<cell size="105">

<stack spacing="5" layout="vert" padding="4">

<cell size="22">

<control id="0x20002" class="static" tab_order="1">

<text>Description:</text>

</control>

</cell>

<cell size="22">

<control id="0x20004" class="static" tab_order="3">

<text>Type:</text>

</control>

</cell>

<cell size="22">

<control id="0x20008" class="static" tab_order="5">

<text>Priority:</text>

</control>

</cell>

<cell size="22">

<control id="0x20010" class="static" tab_order="7">

<text>Owner:</text>

</control>

</cell>

<cell size="22">

<control id="0x20024" class="static" tab_order="9">

<text>Account:</text>

</control>

</cell>

(......................................)

</stack>

</cell>

<!-- left side fields -->

<cell>

<stack layout="vert" spacing="5">

<cell size="22">

<control class="edit" id="0x20003" tab_order="2">

<field value="string">Description</field>

</control>

</cell>

<cell size="22">

<control class="combobox" id="Type" tab_order="4">

<source type="ActionTypePicklist" field="Value" format=":[:(Label):]"></source>

<field>Type</field>

</control>

</cell>

<cell size="22">

<control class="combobox" id="0x20009" tab_order="6">

<source type="ActionPriorityPicklist" field="Value" format=":[:(Label):]"></source>

<field>Priority</field>

</control>

</cell>

<cell size="22">

<control class="lookup" id="Owner" tab_order="8">

<source type="Employee" format=":[:(Login Name):]" resource_id="lookup:employees"></source>

<field>Primary Owner Id</field>

</control>

</cell>

<cell size="22">

<control id="0x20025" tab_order="10" class="lookup">

<source type="Account" format=":[:(Name):]" resource_id="lookup:accounts"></source>

<field>Account Id</field>

</control>

</cell>

(......................................)

</stack>

</cell>

</stack>

Siebel CRM Desktop for Microsoft Outlook Administration Guide Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.