Sun Java System Portal Server 7.1 Configuration Guide

Inserting Instant Messenger Links in an Organization

By default Instant Messenger links are added to the Application channel, which provides the links to launch various applications, in the default organization. The Instant Messenger links allows end users to launch the Instant Messenger from the Application channel. You need to add Instant Messenger links manually if:

The contents for the Instant Messenger links are in the file PortalServer-base /SUNWportal/samples/InstantMessaging/dp-IMChannel.xml. The dp-IMChannel.xml file also contains the sample IMChannel .

Edit a copy of the file dp-IMChannel.xml to add the Instant Messenger links information to the display profile for another organization and install the file using the psadmin command as follows:

ProcedureInserting Instant Messenger Links

  1. Change to the following directory:

    PortalServer-base /SUNWportal/bin/

  2. Create a copy of the dp-IMChannel.xml file as follows:.

    cp dp-IMChannel.xml newfile.xml

  3. To modify the Application channel, type the following psadmin command:


    psadmin modify -u
                          ADMIN_DN -w
                          PASSPHRASE -d
                          ORG_DN -m newfile.xml
    
                      

    where:

    ADMIN_DN - Replace with LDAP administrator DN. For example: psadmin

    PASSPHRASE - Replace with the administrator’s password.

    ORG_DN - Replace with the DN of the Organization where the links are to be added. For example: o=example.com, o=isp

    The URL for launching the Instant Messenger using Java Plug-in is a reference to the Instant Messaging channel with a launch argument. For example:

    /portal/dt?action=content&provider=IMChannel&launch=plugin&username=sam

    The URL for launching the Instant Messenger applet with Java Web Start is:

    /portal/imlaunch?channel=IMChannel&launch=jnlp&username=sam