What Is Customization
Changing default screen view is a customization. Customization is an XML file with the same name as a screen's default one. Customization file contains a difference between a default screen and its desired appearance. Namely, customization XML file should contain only those declarations of elements and their attributes from default one that are to be changed. Elements that are not used in the customization file are displayed and function as defined in the default one.
Example
The following code sample is a customization of simple Billing screen we considered in the Screens XML Structure section. Customization changes labels for Sample ID and Sample Description fields, Edit and Cancel buttons. Also, a fields order is changed.
<id="window_id">
<!-- This section declares the screen controls to be changed -->
<elements>
<button id="Edit" label="Correct"/>
<button id="exit" label= "Back"/>
</elements>
<!-- This section defines elements layout -->
<layout>
<!-- This is a grid that defines screen data layout -->
<grid id="dataMisc">
<row id="SampleID" after="SampleName">
<cell labelfor="SampleID">`Customized ID`</cell>
<cell>SampleID</cell>
</row>
<row id="SampleDescription">
<cell labelfor="SampleDescription">`Customized Description`</cell>
<cell>SampleDescription</cell>
</row>
</grid>
</layout>
</window>
The customization file contains only declarations that redefine default values. Note that element IDs must not be changed as they serve as links between default XML file and its customization.
The figure below presents the screen resulted on customization application: