Show TOC

 Defining Bundle FilesLocate this document in the navigation structure

Use

The parameters that you define in a config class normally have technical names that are not suited for the user interface. You can define the display of the parameters on the user interface in a bundle file. The bundle file assigns details to the parameter like a user-friendly name, a tooltip or an abbreviation. The information in the bundle file is used for the presentation of the parameter on the on the user interface. 

Procedure
  1. Create a file and assign user-friendly information to the parameters as shown in the example below.  The table lists and explains the information that you can specify in a bundle file.
    Property Explanation

    maindesc

    Specifies the text to display in the configuration iView on the page reserved for the config class.

    lbl

    Specifies the name of the ConfigClass to display in the configuration iView (instead of the name-attribute's value)

    tip

    Tooltip to use for this ConfigClass in the config UI

    listdesc

    gives a short description to be displayed in the config UI on the folder-views

    lbl.<parameter>

    Specifies the name to display in the configuration iView for the <parameter>

    tip.<parameter>

    Specifies the tooltip to display for the <parameter>

    clm.<parameter>

    Specifies a name to display as column header in the configuration iView.

    unit.<parameter>

    Specifies an optional text to display after the input field. For example, seconds to show that the value has to be entered in seconds.

     

  2. Save the text file with the same name as the XML config class file which defines the parameters. However, substitute the extension with .properties , for example, my_rm.properties. Store the file in your project in the the SAP NetWeaver Developer Studio under: /meta/install/cm/repository_managers/bundles/classes/
Example

 

#config framework maindesc= long description to be displayed on config classes main page lbl=My Repository Manager tip=my own repository manager listdesc= short explanation to be displayed in configuration folder view lbl.host=Hostname tip.host= backend system's hostname clm.host=Host