Show TOC

Adding a Title to the Launchpad Home PageLocate this document in the navigation structure

Method of the RendererExtensions API that adds a title in the shell header.

Syntax

setHeaderTitle(sTitle)

This method is part of the SAPUI5 sap.ushell.renderers.fiori2.rendererextensions namespace. For more information, see SAPUI5 Demo Kit: Controls Start of the navigation path API REFERENCE Next navigation step sap.ushell Next navigation step renderers Next navigation step fiori2 End of the navigation path.

Note

The search control and the title occupy the same space in the shell header. Opening the search hides the title.

Parameters

Parameter

Type

Description

Title

String

The text of the title to display in the shell header.

Example
Sample Code
<SCRIPT language ="JavaScript">

var oRendererExtensions = jQuery.sap.getObject("sap.ushell.renderers.fiori2.RendererExtensions");

oRendererExtensions.setHeaderTitle(“Some Title”); 
   
<SCRIPT>