Portlet labels allow you to create custom field labels for data-capable elements. Portlet labels let you combine multiple data-capable elements into a single table, sort records by a particular field, and modify the column order. You can map labels to table columns or rows. A mapped element is created when you map a grid element that has one or more columns mapped to portlet labels.
See “Working with data-capable elements”.
Creating portlet labels
In the Portlet Manager, select a portlet listing from the detail view for which you want to add labels and click Edit.
When the Portlet Builder displays, click Labels on the toolbar.
Enter the text you want as a label for one of the columns, then click the plus sign to add that label. Continue this process until you have created all the labels you need.
For the Sort Records By option, select:
Sort Records By – to sort the table records by one of the labels listed in the drop-down list.
Ascending/Descending – to sort the records in ascending or descending order.
Click OK to save your entries and close the window.
Assigning portlet labels
Click the name of a data-capable element in the Element List. This displays the element field labels below the element name and the associated Portlet Label drop-down lists.
Select a portlet label from the drop-down list associated with an element field. The element is added to a new mapped element within the Element List. The Mapped Element has a cell position drop-down list. You must assign a position to the Mapped Element for it to become visible in the portlet.
Select a location from the cell position drop-down list for the mapped element and preview the results in the portlet viewer pane of the Portlet Builder.
Click Save to save the portlet with the new labels.
The mapped elements and grid element columns along with the resulting labels previews in the portlet viewer.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |