Home

 

Specify read-only attributes

When you want to specify an attribute that cannot be edited by users, you enclose the attribute in an <attribute> element.


Follow these steps to specify the read-only attributes for the Profiles user interface:

  1. Identify those attributes that are read-only profile attributes that should display on the Profile page. This decision should be based on the data that you were able to copy from your corporate into the Profiles feature database and the requirements for your deployment of Profiles. Identify a particular field by enclosing it in an XML element named attribute as shown in the following example:

      <attribute>organizationTitle</attribute>
      

  2. The profile attributes that can be edited display in the Profile page with the attributes identified in this step. The order in which you specify these profile attributes dictates the order in which they are displayed in the Profile page. The only limitation is that profile attributes that are labeled as associated information (for example, description and experience) show up within tabs, and you have no control over these particular attributes in the Profile page. However, you do have control over profile attributes in other sections (for example, job information and contact information) as described in the following table.


    Display options for read-only attributes

    Display option Description Example
    E-mail link If the profile attribute is an e-mail address which is resolvable by an e-mail client, then you can have this attribute displayed as a link with a mailto URL. For users that are viewing a profile with this link and that have an e-mail client installed on their systems, clicking this e-mail link launches their e-mail client and a new e-mail with the e-mail address in the recipient list is created automatically.

      <attribute 
       email="true">email
      </attribute> 
      

    Hyperlink Displays as a clickable link.

      <attribute 
       link="true">
       blogUrl
      </attribute>
      

    Sametime aware If you choose to enable the Lotus Sametime presence awareness feature in Profiles, you can have a profile attribute that is a person's name displayed as a Sametime link. Sametime links display a person's presence and allow you to chat with that person if they are available to chat. A person viewing a profile with Sametime links needs to be logged in to the Profiles application to see the presence awareness. If the user is not logged in, a link to the Profiles login page displays in place of a Sametime link.

      <attribute 
       sametimeLink="true" 
       email="secretaryEmail">
       secretaryName
      </attribute> 
      

    Display Profile card Displays the name as an hcard, which is a semantic tag that would be turned into a person tag. Hovering over this attribute in the Profile page displays another link that can be selected to see that person's profile card. The profile card displays basic profile information and includes links to the content that that person has created in other Lotus Connections features.

      <attribute 
       hcard="true" 
       email="secretaryEmail" 
       uid="secretaryUid">
       secretaryName
      </attribute>
      

    Display no label Hides the label for the attribute.

      <attribute 
       showLabel="false">
       organizationTitle
      </attribute> 
      

    Display no label if value is empty Hides the label if there is no value for the attribute.

      <attribute 
       hideIfEmpty="true">
       secretaryName
      </attribute> 
      


Customizing Profiles


+

Search Tips   |   Advanced Search