Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Connections wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search
IBM Translated Product Documentation...

 IBM Connections 3.0.1 documentation

 IBM Connections 3.0.1 Javadoc
 IBM Translated Product Documentation

Tag Cloud

  • 1.0
  • 1.0.x
  • 2.0
  • 2.0.1
  • 2.0.1.1
  • 2.0_media
  • 2.5
  • 2.5_deployment
  • 2.5_media
  • 2.5_performance
  • 3
  • 3.0
  • 3.0.1
  • 3.0.1_media
  • 3.0_media
  • 3_deployment
  • 8.1.1
  • 8.2
  • activities
  • administrators
  • api
  • best_practices
  • blogs
  • bookmarks
  • business_card
  • cluster
  • communities
  • community
  • community_manager
  • connections
  • connections_3
  • connections_301
  • customization
  • customize
  • customizing
  • demos
  • deploying
  • deployment
  • deployments
  • developers
  • dogear
  • Domino
  • Edge server
  • education
  • error messages
  • files
  • forums
  • getting_started
  • Help
  • home
  • home_page
  • homepage
  • how-to
  • HTTP server
  • ibm
  • index
  • installation
  • integration
  • iOS
  • ipad
  • iWidget
  • J2EE
  • javadoc
  • lc3.0
  • learning
  • lotus-connections
  • mml
  • mobile
  • Notes
  • performance
  • person_card
  • Portal
  • portlet
  • portlet_factory
  • profiles
  • proxy server
  • quickr
  • Redbooks
  • rest
  • reverse proxy server
  • Sametime
  • scenarios
  • search
  • security
  • self-paced
  • SSO
  • tags
  • test_infrastructure
  • troubleshooting
  • tuning
  • video
  • VideoFest
  • videos
  • WAI
  • WAS
  • web_seminar
  • WebAppIntegrator
  • WebSphere
  • widgets
  • wikis
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > IBM Connections 3.0.1 documentation > Managing widgets in Profiles
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
(Current editable edition)
Original noneditable edition
Current editable edition
(Original noneditable edition)

Managing widgets in Profiles 

expanded Abstract
collapsed Abstract
Configure settings in the widget definition file, widgets-config.xml, when you want to modify the widgets that display in the Profiles application.



Configure settings in the widget definition file, widgets-config.xml, when you want to modify the widgets that display in the Profiles application.

Before you begin

To edit configuration files, you must use the IBM® WebSphere® Application Server wsadmin client. See Starting the wsadmin client for details.

About this task

The widgets-config.xml file contains information about widget definitions, widget attributes, widget location, default widget templates, and page definitions. Each widget has a corresponding <widgetDef> element that contains the attributes for the widget. When you want to edit the widget, enable or disable it, or move it to a different location, you need to update the corresponding <widgetDef> element in the widgets-config.xml file.

The widgets-config.xml file is stored in the following location:

<WAS_HOME>\profiles\AppSrv01\config\cells\<CELL_NAME>\LotusConnections-config\widgets-config.xml

Procedure

To edit the widgets that display in Profiles, complete the following steps.
  1. Start the wsadmin client from the following directory of the system on which you installed the Deployment Manager:
    • app_server_root\profiles\<dm_profile_root>\bin

      where <app_server_root> is the WebSphere Application Server installation directory and <dm_profile_root> is the Deployment Manager profile directory, typically dmgr01.

      You must start the client from this directory or subsequent commands that you enter do not execute correctly. For more information, see Starting the wsadmin client.
  2. Start the Profiles Jython script interpreter.
    1. Use the following command to access the Profiles configuration files:
      • execfile("profilesAdmin.py")


        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, you must pick the node where the file is stored.
  3. Use the following command to check out the widget configuration file:
    • ProfilesConfigService.checkOutWidgetConfig("<working_directory>", "<cell_name>")

      where:
      • <working_directory> is the temporary working directory to which the configuration XML and XSD files will be copied. The files are kept in this working directory while you make changes to them.
      • <cell_name> is the name of the WebSphere Application Server cell hosting the Profiles application. This argument is required.
      For example:

      ProfilesConfigService.checkOutWidgetConfig("/wsadminoutput", "jdoe30Node02Cell")

  4. Navigate to the temporary directory in which you saved the widgets_config.xml file, and then open the file in a text editor.
  5. Do one of the following:
    • To edit a widget's properties, look for the corresponding <widgetDef> element, and then modify the widget attributes and parameters as needed. For information about the attributes and parameters, see Profiles widget attributes.
    • To associate a widget with a different profile type, look for the relevant <widgetDef> element, and then modify the value of the resourceSubType attribute. For information about the resourceSubType attribute, see Profiles widget attributes.
    • To move a widget to a different location, look for the relevant <widgetDef> element, and then modify the value of the pageId and uiLocation attributes. For information about these attributes, see Profiles widget attributes.
    • To disable a widget, look for the relevant <widgetDef> element and either delete the element or comment it out of the code.

  6. Save your changes and check the widgets-config.xml file back in using the following command:
    • ProfilesConfigService.checkInWidgetConfig()
  7. To exit the wsadmin client, type exit at the prompt.
  8. Stop and restart the Profiles server.

Example

<layout resourceSubType="default">
       <page pageId="searchView">
                <widgetInstance uiLocation="col1" defIdRef="commonTags"/>
                <widgetInstance uiLocation="col3" defIdRef="sand_DYK"/>
                <widgetInstance uiLocation="col3" defIdRef="sand_recomItems"/>
       </page >
       <page pageId="profilesView">
                <widgetInstance uiLocation="col1" defIdRef="socialTags"/>
                <widgetInstance uiLocation="col1" defIdRef="sand_thingsInCommon"/>
                <widgetInstance uiLocation="col2" defIdRef="multiWidget"/>
                <widgetInstance uiLocation="multiWidget" defIdRef="board"/>
                <widgetInstance uiLocation="multiWidget" defIdRef="contactInfo"/>
                <widgetInstance uiLocation="multiWidget" defIdRef="backgroundInfo"/>
                <widgetInstance uiLocation="multiWidget" defIdRef="multiFeedReader"/>
                <widgetInstance uiLocation="col3" defIdRef="sand_socialPath"/>
                <widgetInstance uiLocation="col3" defIdRef="reportStructure"/>
                <widgetInstance uiLocation="col3" defIdRef="friends"/>
                <widgetInstance uiLocation="col3" defIdRef="linkRoll"/>
       </page >
       <page pageId="searchView">
                <widgetInstance uiLocation="col1" defIdRef="commonTags"/>
       </page >
       <page pageId="networkView">
                <widgetInstance uiLocation="col1" defIdRef="sand_DYK"/>
       </page >
       <page pageId="editProfileView">
                <widgetInstance uiLocation="col1" defIdRef="socialTags"/>
                <widgetInstance uiLocation="col1" defIdRef="sand_thingsInCommon"/>
                <widgetInstance uiLocation="col3" defIdRef="sand_socialPath"/>
                <widgetInstance uiLocation="col3" defIdRef="reportStructure"/>
                <widgetInstance uiLocation="col3" defIdRef="friends"/>
                <widgetInstance uiLocation="col3" defIdRef="linkRoll"/>
       </page >
</layout>

    Profiles widgets
    The following table lists the widgets that are available for the Profiles application.
Parent topic: Configuring widgets in Profiles

Related concepts
Adding custom widgets to Profiles

Related reference
Profiles widget attributes

expanded Article information
collapsed Article information
Category:
IBM Connections 3.0.1 documentation, Product Documentation,
Tags:

This Version: Version 3 March 15, 2012 9:16:04 AM by IBM  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (3)
collapsed Versions (3)
Version Comparison     
Version Date Changed by               Summary of changes
This version (3) Mar 15, 2012 9:16:04 AM IBM  
2 Mar 15, 2012 9:16:04 AM IBM  
1 Apr 6, 2011 3:58:33 PM IBM  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use