Home

 

Removing third-party links from the business card

If you added third-party links to the Profiles business card and those links are no longer needed, you can remove them by modifying the LotusConnections-config.xml configuration file. You cannot remove third-party links using JavaScriptâ„¢.

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


You can remove links to services acquired from another vendor by deleting the relevant section from the LotusConnections-config.xml file.

To remove third-party links from the Profiles business card...

  1. Use wsadmin to access and check out the IBM Lotus Connections configuration files.

    1. Access the Lotus Connections configuration file:

      • Stand-alone deployment: execfile("connectionsConfig.py")

      • Network deployment: execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/connectionsConfig.py")If you are prompted to specify which server to connect to, type 1.

        This information is not used by wsadmin when you are making configuration changes.

    2. Check out the Lotus 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.

      • cell_name is the name of the WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. This argument is also case-sensitive, so type it with care. If you do not know the cell name, do one of the following to determine it:

        • Stand-alone deployment: From the file system...

            WAS_HOME\profiles\profile_name\config\cells\
            

      • Network deployment: From wsadmin...

          print AdminControl.getCell()
          

      For example:

      • AIX/Linux:

          LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")
          

    3. Microsoft Windows:

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

  2. Open the LotusConnections-config.xml file in a text editor.

  3. Find the <sloc> element that corresponds to the service for which you want to delete the link, and either delete the element from the file or comment it out.

    For example:

      <!-- <sloc:serviceReference serviceName="googleService"
        href="http://www.google.com"   enabled="true"
        ssl_href="http://www.google.com"   ssl_enabled="false"
        person_card_service_url_pattern="/search?hl=en&amp;q={email}&amp;btnG=Google+Search"
        person_card_service_name_js_eval="'Google Me'"/>
       -->
      <sloc:serviceReference serviceName="quickr"
        href="http://quickrdomino.tap.ibm.com/servlet"   enabled="true"
        ssl_href="https://quickrdomino.tap.ibm.com/servlet"   ssl_enabled="true"
        person_card_service_url_pattern="/QuickrEntry?email={email}"
        person_card_service_name_js_eval="generalrs.label_personcard_quickrlink"/>
      
      <sloc:serviceReference serviceName="communities"
        href="http://wd40.lotus.com/communities"   enabled="true"
        ssl_href="https://wd40.lotus.com/communities"   ssl_enabled="true"
        person_card_service_url_pattern="/service/html/allcommunities?email={email}"
        person_card_service_name_js_eval="generalrs.label_personcard_communitieslink"/>
      
      <sloc:serviceReference serviceName="profiles"
        href="http://wd40.lotus.com/profiles"   enabled="true"
        ssl_href="http://wd40.lotus.com/profiles"   ssl_enabled="true" person_card_service_url_pattern="/html/simpleSearch.do?searchFor={email}&amp;searchBy=email"
        person_card_service_name_js_eval="generalrs.label_personcard_profilelink"/>
      

  4. Open the service-location.xsd file and delete the relevant service name. Apply property changes


Customizing the business card

 

Related tasks

Apply common configuration property changes


+

Search Tips   |   Advanced Search