Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Displaying the profile details of an item
The Profile component tag is used to display the profiling details (either categories or keywords) of an item. This tag can be added to presentation templates, element designs and component designs.
<profilecmpnt type=" " context=" " name=" " field=" " separator=" " include=" " start=" " end=" " /> <profilecmpnt Opens a Profile Component tag. type=" " This determines where the profile is being referenced from. Either "site", "sitearea", "content" or "user". The user type displays a users profile. You can either select context="current" to display the current users profile, or context="selected" and enter a user name in the name parameter to display a specific user profile.
context=" " This determines which item is being referenced.
- Selected
- Refers to a particular item as specified in the name attribute below.
- Current
- This will reference the component from the current site, site area or content file that is being browsed by the user.
- AutoFill
- The component being referenced will be determined by the search parameters of a menu, navigator or taxonomy component.
name=" " Enter the name and library of the item being referenced. For example, name="library/item" . If no library is specified, the library specified in the URL of the current page is used. This is not used if context=current or context=autofill. field=" " Enter the field you wish to display.
- categories.
- keywords.
separator=" " Used to separate each listed category or keyword. For example, separator=", " Double-byte character sets
Not all double-byte character sets support extended ASCII. To use tags such as " " you will need to replace "&" with "&".
For example:
separator="&nbsp;&nbsp;"include=" " Used only with field=categories. Determines which level of a taxonomy to display:
- exact
- ancestors
- descendants
- all
For example, if an item is profiled with a category of Sport, and include=descendants, then all the descendants of "sport" would also be displayed.
start=" " end=" "
The start and end attributes are used to wrap the data returned by an IBM® Workplace Web Content Management™ tag within other tags, such as HTML. These attributes are not mandatory. See the Using start and end attributes topic for more information on using these attributes. /> Closes a Web Content Management tag.
Parent topic:
Displaying item details