2012-12-06 32 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服務器。

相關問題