The client-side metadata should be identical to the metadata of the entity that is being overridden except for the inclusion of any additional fields where appropriate. In the presented example, the developer will want to include the 'reference text' field on the screen as the user will be populating this themselves. The developer will not want to expose the username on the screen.
The following is the custom client EUIM metadata file for Asset:
<Entity name="Asset" displayName="Asset">
<UserInterface>
<Clusters>
<Cluster label="Cluster.Title.AssetDetails"
numCols="2">
<Field label="Field.Label.AssetType"
columnName="assetType" mandatory="Yes"
use_blank="true"/>
<Field label="Field.Label.StartDate"
columnName="startDate" mandatory="No"
use_default="false"/>
<Field label="Field.Label.ReferenceText"
columnName="referenceText" mandatory="No"
use_default="false"/>
<Field label="Field.Label.AssetValue"
columnName="value" mandatory="Yes"
use_default="false"/>
<Field label="Field.Label.EndDate"
columnName="endDate" mandatory="No"
use_default="false"/>
</Cluster>
<Cluster label="Cluster.Title.Comments">
<Field columnName="comments" mandatory="No"
metatype="COMMENTS" label=""/>
</Cluster>
</Clusters>
</UserInterface>
</Entity>
The following is the associated properties file for Asset.euim:
Cluster.Title.AssetDetails=Asset Details
Field.Label.ReferenceText=Reference Name
Field.Label.ReferenceText.Help=Reference Name to help the user
differentiate similar records.
Field.Label.AssetType=Type
Field.Label.AssetType.Help=The type of the asset
Field.Label.AssetValue=Value
Field.Label.AssetValue.Help=The value of the asset
Field.Label.StartDate=Received
Field.Label.StartDate.Help=The date the asset was received
Field.Label.EndDate=Disposed
Field.Label.EndDate.Help=The date the asset was disposed
Cluster.Title.Comments=Comments
Cluster.Title.Comments.Help=Additional information