delete me

WebSphere Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows


 

Integrating click-to-action targets with the people menu

Target actions for semantic tagging based click-to-action can also integrate with the person context menus that are generated for hCard microformats found in the page markup (see TBD).

Target actions that you want to be displayed in a person context menu need to declare the special type name as follows:
http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.2/liveobjects#hcard

Unlike normal click-to-action sources, the person data that is available in the person context menu is complex structured information. Therefore the value of the variable window.ibm.portal.c2a.event.value is not a string, but a JavaScript object with multiple nested properties that represent available information about the person. Refer to the people tag documentation about available attributes. The value that is passed in a target input field annotated with c2a:action-param is a string representation of this object in JavaScript Object Notation (JSON) format.

If you want target actions to receive only individual fields of the person record, you can indicate this by appending the field selector to the type name. For example, a target action that is declared with the following type name will receive only the email.internet nested property of the person record.
http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.2/liveobjects#hcard.email.internet
If the specified field is not available for a given source, then the target action will not be displayed in the person menu. Parent topic: Semantic tagging for click-to-action Related reference
Semantic tagging formats Relation to cooperative portlet wiring Comparison of the new features with click-to-action in IBM portlets
Library | Support | Terms of use |