2012-12-06 31 views
0

我的工作用的IBM Connections 4.0集成,并希望注入一个组件插入到名片弹出式视窗,你悬停在连接界面接触时得到:有没有办法在IBM Connections Business Card弹出窗口中注入组件?

Business Card Popout Example

该组件可以作为作为链接很简单,但iWidget或OpenSocial小工具也很棒。有没有名片的集成点?

我已经做了一些初步的研究,但在将名片集成到外部应用程序之外并没有太多的发现。

回答

4
+0

所以我按照说明,但对service-location.xsd的更改似乎并没有持续。检入并重新启动后,我得到一个错误,我的服务名称尚未定义。重复检出文件的过程显示,对LotusConnections-config.xml的更改在那里,但不在service-location.xsd中。 –

+1

找到这篇文章:http://www.lbenitez.com/2008/07/how-to-add-atlas-me-link-to-lotus.html,并就地编辑了service-location.xsd文件。重新启动连接,现在链接显示出来。 –

1

解释为子孙后代,我附加我把基于从muenzpraeger的答案,按照下列步骤进行IBM Connections 4 Part 4: Customizing, Security, Performance, and Integration实现这一目标的步骤。请注意,您的路径可能会有所不同,您需要获取正确的用户名和密码才能访问wsadmin控制台。

$ mkdir -p /tmp/business-card-add-link 
$ cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin 
$ ./wsadmin.sh -user USER -password PASSWORD -lang jython 
wsadmin> execfile("connectionsConfig.py") 
wsadmin> print AdminControl.getCell() 
connectionswwCell01 
wsadmin> LCConfigService.checkOutConfig("/tmp/business-card-add-link","connectionswwCell01") 

添加以下到LotusConnections-config.xml文件,这是在/ tmp /名片加链接

<sloc:serviceReference serviceName="googleMeService" 
    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:{email}:userid:{userid}:uid:{uid}:displayName:{displayName}:phone:{workPhoneNumber}&amp;btnG=Google+Search" 
    person_card_service_name_js_eval="'Google Me'"/> 

并保存文件。早在控制台:

wsadmin> LCConfigService.updateConfig("versionStamp","") 
wsadmin> LCConfigService.checkInConfig() 
wsadmin> synchAllNodes() 

重新连接

从链接的指示说要进行更改服务location.xsd文件以及但这些变化并签重启后并没有持续。这会导致阻止Connections服务器正常运行的错误。看着日志文件,它抱怨说LotusConnections-config.xml中引用的服务googleMeService不在service-location.xsd中的服务列表中。

为了解决这个问题,我只是更改了service-location.xsd文件。我发现使用find命令的文件的两个OCCURENCES:

find . | grep LotusConnections-config/service-location.xsd 

我加<xsd:enumeration value="googleMeService" /><xsd:simpleType name="serviceNames">部分由链接文件指示,并重新启动Connections服务器。

相关问题