Sunday, 4 November 2012

Configuring iwidget in Ibm Connections 3.0

 //Configuring iwidget in Ibm Connections 3.0

1) Start the admin client
Go to \IBM\WebSphere\AppServer\profiles\<dmgr_profile>\bin>
wsadmin -lang jython -user <user> -password <password> -port 8879

2) Start the Communities Admin service
execfile("communitiesAdmin.py")

3) Check-out the widgets-config.xml
CommunitiesConfigService.checkOutWidgetsConfig(<temp dir>,<cell_name>)
Ex: CommunitiesConfigService.checkOutWidgetsConfig("c:/temp", AdminControl.getCell())


4) Make the changes to the widgets-config.xml file

<resource type="community" …>

<!-- yourWidget_name -->
  <widgetDef defId="yourWidget_name" primaryWidget="false" modes="view edit" showInPalette="true" uniqueInstance="true"
                url="{contextRoot}/projectName/projectName.xml?version={version}" loginRequired="true"
                description="Pep Subject Matter Expert widget.">
</widgetDef>

</resource>
5) Check-in the widgets-config.xml file
CommunitiesConfigService.checkInWidgetsConfig(<temp dir>,<cell_name>)

6) Restart the Communities application in WAS

No comments:

Post a Comment

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...