Setting up the Object Page Header

Setting up the Object Page Header

You have various options for defining the object page header.

The object page supports the standard header and the dynamic header. See also Object Page Headers.

The object page header display is determined by the following vocabularies:

Main Elements

This figure shows how to set up the following basic elements for your object page header in your annotations:

Label in Figure

Element

1

Title (Object Type)

2

Image of the object instance

3

Language-dependent product text in SAP back-end systems

4

Product title in SAP back-end systems

Object Page Header

Sample Code

This sample code is a selectable version of the code shown above for setting up the main elements on the object page header.

<Annotation Term="UI.HeaderInfo">
	<Record>
		<PropertyValue Property="TypeName" String="Product"/>
		<PropertyValue Property="TypeNamePlural" String="Products"/>
		<PropertyValue Property="ImageUrl" Path="ProductPictureURL"/>
		<PropertyValue Property="Title"
			<Record Type="UI.DataField">
				<PropertyValue Property="Value" Path="to_ProductTextInCurrentLang/Name"/>
			</Record>
		</PropertyValue>
		PropertyValue Property="Description">
			<Record Type="UI.DataField">
				<PropertyValue Property="Value" Path="Product"/>
			</Record>
		</PropertyValue>
	</Record>
</Annotation>	
For information on display options for a object, see Using Images, Initials, and Icons.

In this section: