Show TOC Entering content frame

Function documentation Displaying Properties Locate the document in its SAP Library structure

Use

You can define which properties are to be displayed for a resource (folder, file, or link) or collection (content of a folder, search result list) in the configuration of the user interface.

 

Features

The following two parameters are available for this purpose in the configuration.

Parameters

Specified in

Description

Visible Properties

Resource Renderer Settings

Specifies properties to be displayed for individual resources

Displayed Properties

Collection Renderer Settings

Specifies properties to be displayed for a collection (usually in columns)

 

Use the following syntax for the parameter specifications:

°<nNamespace alias>:<property ID> (Modifier1/Modifier2/...)

 

Note

If it is a parameter in the standard namespace, you do not need to specify a namespace alias.

 

If you want to display several properties in the same table cell, use the plus sign (+) to separate them.

 

Note

Properties of the type text are always displayed beneath one another, even if you have separated the specifications with the plus sign.

 

If you separate the properties with commas, they are treated as follows:

·        For the parameter Displayed Properties, they are displayed next to one another in a new column

 

·        For the parameter visible Properties, they are displayed beneath one another in a new cell

You can use an additional modifier to specify the exact table cell.

 

Note

If you are using a collection grid renderer in a layout set, specify the properties to be displayed only in the resource renderer setting. The properties are then displayed beneath one another in a cell.

 

Overview of Modifiers

Modifier

Description

contentLink

The displayed property contains a link to the corresponding resource.

noTitle

The name of the property is not displayed in the column header.

useTitleasLabel

Displays the name of the property followed by a colon and then its value (for example, Size: 23 KB)

This modifier is only needed for the flavor grid.

primaryTextStyle

The value of the property is displayed in the style of the primary text.

secondaryTextStyle

The value of the property is displayed in the style of the secondary text.

noColumnSpacing

No spacing is used between columns.

alignLeft

The property is displayed with left-alignment.

alignRight

The property is displayed with right-alignment.

alignCenter

The property is displayed with center-alignment.

space-left=<numerical value>

Integer giving the indentation from the left.

For example, space-left=10

space-right=<numerical value>

Integer giving the indentation from the right.

space-top=<numerical value>

Integer giving the indentation from the top.

space-bottom=<numerical value>

Integer giving the indentation from the bottom.

[<Row>:<column>]

or

[<Row>:<column>-<column>]

Properties are displayed on the user interface in invisible tables.

This specifies the row and column in which the property is displayed. By default, all properties are displayed in the first cell of the table.

You can combine multiple columns into one cell.

For example, rnd:documentabstract([2;2-9]).

The above specification would result in the document abstract being displayed in the second row of the table in the columns 2 to 9.

width=<numerical value>

Integer giving the width (for example, of a thumbnail).

height=<numerical value>

Integer giving the height (for example, of a thumbnail).

noicon

If no thumbnail can be generated, a transparent image is displayed (only valid for the property rnd:thumbnail).

debug

Every time an object is accessed, a new thumbnail is created. No temporarily stored thumbnails are used (only valid for the property rnd:thumbnail).

To specify multiple modifiers, separate your entries using a forward slash (/).

 

The system can also pull modifiers from the parameter Additional Metadata. You can specify this parameter in the configuration of predefined properties.

 

Activities

To determine the properties that are to be displayed for a resource, enter the required properties and modifiers into a resource renderer setting in the parameter Visible Properties.

To determine the properties that are to be displayed for a collection, enter the required properties and modifiers into a collection renderer setting in the parameter displayed Properties.

 

Example

 

Displaying Resources

You want the symbol for a file, its name (which is also a link to the resource) and the popup menu with commands to be displayed next to one another. The description of the resource should also be displayed.

 Example Name_of_file.txt This graphic is explained in the accompanying text

Description of file

 

The following table explains which entries are valid for which rows (parameters are displayed in bold).

rnd:icon+rnd:displayname(contentlink)+rnd:action,

rnd:description

 

Enter the following character string (without spaces) into the input field for the parameter Visible Properties in the configuration of a resource renderer setting.

rnd:icon+rnd:displayname(contentlink)+rnd:action,rnd:description

 

Search Result Layout

The entries in the search result list should be structured as follows:

Example

Name of file.txt     commands

Relevancy

Text extracts

Rating

Last changed by    File size     Last changed at     HTML version

 

Categories

 

The following table explains which entries are valid for which cells (parameters are displayed in bold).

rnd:icon(space-right=10/alignLeft),

rnd:displayname(contentLink/[1;2-3]/
space-right=30)+rnd:action,

rnd:rankvalue([2;1]/
alignLeft/
noColumnSpacing/
space-right=10),

rnd:documentabstract([2;2-9]/primaryTextStyle),

col:rating([3;1]/
noColumnSpacing/
alignLeft/
space-right=10),

modifiedby([3;2]/alignLeft/secondaryTextStyle/
space-right=10)
+contentlength(secondaryTextStyle/space-right=10)
+modified(secondaryTextStyle/space-right=10)
+rnd:highlighted_contentlink(space-right=10/
secondaryTextStyle),

 

rnd:categories([4;2-9]/space-right=10)

 

Enter the following character string (without spaces) into the input field for the parameter Displayed Properties in the configuration of a search result renderer setting.

 

rnd:icon(space-right=10/alignLeft),
rnd:displayname(contentLink/[1;2-3]/space-right=30)+rnd:action,
rnd:rankvalue([2;1]/alignLeft/noColumnSpacing/space-right=10),
rnd:documentabstract([2;2-9]/primaryTextStyle),
col:rating([3;1]/noColumnSpacing/alignLeft/space-right=10),
modifiedby([3;2]/alignLeft/secondaryTextStyle/space-right=10)
+contentlength(secondaryTextStyle/space-right=10)
+modified(secondaryTextStyle/space-right=10)
+rnd:highlighted_contentlink(space-right=10/secondaryTextStyle),
rnd:categories([4;2-9]/space-right=10)

 

 

Leaving content frame