Add third-party links via the XML configuration file 

You can extend the Profiles business card by adding links to applications from another vendor.


Before you begin

To edit configuration files, use the wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.


About this task

You can specify links to services acquired from another vendor in the <WAS_HOME>\profiles\<WAS_Profile>\config\cells\<Host_name>\LotusConnections-config \LotusConnections-config.xml file. The service reference must have a person_card_service_url_pattern attribute and a person_card_service_name_js_eval attribute. Without these attributes, the service link does not display in the inline or pop-up business cards.

To extend the Profiles business card...


Procedure

  1. From the dmgr host:

    If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored. This information is not used by the wsadmin client when you are making configuration changes.

  2. Check out the IBM Connections configuration files:

      LCConfigService.checkOutConfig("<working_directory>","<cell_name>")

      where:

      • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.

          AIX and Linux only: The directory must grant write permissions or the command does not run successfully.

      • <cell_name> is the name of the WAS cell hosting the IBM Connections application. This argument is case-sensitive, so type it with care. To obtain the cell name:print AdminControl.getCell()

      For example:

      • AIX or Linux:LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")

      • Microsoft Windows:LCConfigService.checkOutConfig("c:/temp","foo01Cell01")

  • Open the LotusConnections-config.xml file, and modify it to include the following attributes:

  • Edit the service-location.xsd file to define the service names used.

  • After making changes, check the configuration files back in, and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Apply common configuration property changes for information about how to save and apply your changes.


    Parent topic

    Customize the Profiles business card


    Related tasks


    Apply common configuration property changes
    Add custom strings for widgets and other specified scenarios


       

     

    });