Using the business card | HCL Digital Experience
You can integrate the business card and online status in a list of social objects by using live text micro format.
About this task
You can find a sample HTML component that includes this micro format in the HCL Connections library at the following location: . This HTML component is referenced by the default Comprehensive list appearance option for social objects that you can select when you customize social list definitions.
The business card sample identifies a user by the authorObjectID
attribute of a social object that is returned by HCL
Connections.
If your HCL Digital Experience is configured to show the HCL Connections
business card information, use the authorID
attribute
instead of authorObjectID
. For more information, read
Integrating with HCL Connections in
the HCL Portal product documentation.
<span class='vcard X-sametime-resolve'>
<span class="lotusMeta">
<a target="" title="" href="javascript:SemTagMenu.a11y(event)"
class="fn lotusPerson" style="text-decoration:none;"
onclick="return false;">
[AttributeResource attributeName="authorName" separator=","]
</a>
</span>
<span style="display: none;"
class="userObjectId">[AttributeResource attributeName="authorObjectID"
separator=","]</span>
<span style="display: none;"
class="x-lconn-userid">[AttributeResource attributeName="authorID"
separator=","]</span>
</span>
For more information, read Integrating the business card and online status in a custom portlet.
- If you integrate an HCL Connections server that runs
in the Smart Cloud for Social Business, support for the business card is currently not
available. The Business Card HTML component that is contained in the Social Lists 1.0
library does not generate the business card microformat in this case. You can check
whether you integrate an HCL Connections server that runs in the Smart Cloud
for social business in your own design components. To do so, use the
[Plugin:ConnectionsContext type="config" key="server.config"]
. For details, read Configuring global settings for social rendering. - If you want to use the business card on a HCL Portal page, the page editor
must add the
portal.livetext.hcard
theme capability to the page. To achieve this, the page editor can add thewp_liveobject_framework
theme module to the current page profile. For more information, read The module framework in the HCL Portal product documentation.