Monday 17 August 2009

Using Web Application Integrator to integrate Lotus Quickr Services for WebSphere Portal into WebSphere Portal ...

Having done this ONCE, I'm by no means an expert, but wanted to share my W-I-P notes: -

a) Enable JSP reloading for Quickr

i) Log onto the Quickr server

ii) Edit: -

/opt/IBM/Quickr/wp_profile/config/cells/quick/applications/wps.ear/deployments/wps/wps.war/WEB-INF/ibm-web-ext.xmi

iii) Change reloadingEnabled="false" to reloadingEnabled="true"

iv) Restart Quickr

b) Create a URL linking to the Quickr landing page: -


c) On the Portal server, use the WAI portlet to generate the requisite JavaScript against the newly created Quickr URL link

d) Add the WAI JavaScript to Quickr JSP

i) On the Quickr server, BACKUP and then edit the Default.jsp for the current theme e.g.

/opt/IBM/Quickr/wp_profile/installedApps/quick/wps.ear/wps.war/themes/html/QPG/Default.jsp

ii) Locate the line that reads: -

<body <%=bidiDirAttr%> onload="if (javascriptEventController) { javascriptEventController.enableAll(); }"
class="quickr"><div id="FLYParent"><div class="themeHeader" id="bannerContainer"><%@ include file="./banner.jspf" %>
</div><div id="pageArea"><%@ include file="./pageHeader.jspf" %>
iii) Change it to read: -

<body <%=bidiDirAttr%> onload="if (javascriptEventController) { javascriptEventController.enableAll(); }"
class="quickr"><div id="FLYParent"><div class="themeHeader" id="bannerContainer">
<!--
<%@ include file="./banner.jspf" %>
--!>
</div><div id="pageArea"><%@ include file="./pageHeader.jspf" %>

e.g. comment out the JSP tag: -

<%@ include file="./banner.jspf" %>

iv) Add the WAI JS tags immediately below the now commented out include statement: -

<!-- BEGIN PORTAL NAVIGATION INTEGRATION -->
8ktT0osSS_CJVA3QR_YJ0RUUA0glfLw!!/?Portal_Page_ID=6_HMGMBB1A00DM90I8N1AKF110O4">
</script>
<!-- END PORTAL NAVIGATION INTEGRATION -->

so that the file now reads: -

<body <%=bidiDirAttr%> onload="if (javascriptEventController) { javascriptEventController.enableAll(); }"
class="quickr"><div id="FLYParent"><div class="themeHeader" id="bannerContainer">
<!--
<%@ include file="./banner.jspf" %>
--!>
</div><div id="pageArea"><%@ include file="./pageHeader.jspf" %>
<!-- BEGIN PORTAL NAVIGATION INTEGRATION -->
8ktT0osSS_CJVA3QR_YJ0RUUA0glfLw!!/?Portal_Page_ID=6_HMGMBB1A00DM90I8N1AKF110O4">
</script>
<!-- END PORTAL NAVIGATION INTEGRATION -->

v) Save Default.jsp

e)Test by navigating to to the Quickr Documents page



5 comments:

Unknown said...
This comment has been removed by the author.
Unknown said...

Hey Dave. Good stuff. Do you know if anybody has ever attempted to integrate the two using WSRP (ie consume to Portlets from Quickr into Portal 6.1.5)? Do you reckon that would work? tom

Dave Hay said...

Hi Tom, thanks for the comments. It's an interesting use case; I'm not aware of anyone doing it before, and I guess it'd depend upon the specific portlet(s) required from Quickr, given that the My Places portlet is "out-of-the-box" with Portal 6.1.X.

What specifically were you after ?

Dave

Unknown said...

Hey Dave. It was just a thought really - I think I'd be interested to try it as an alternative to WAI since it feels like a more flexible approach. For example, you could have Quickr integrated anywhere in the portal navigation structure. Probably come with it's own set of struggles though.

On a different topic - do you know if it's possible to integrate Connections and Quickr searches (without Omnifind)? The Connections Connector for Quickr doesn't seem to do this, which is a shame...

cheers,

tom

Dave Hay said...

Hi Tom

Nope, I've not yet seen much integration of Quickr and Connections search; I'd guess you need an external search tool to integrate with the LC and LQ search functions, perhaps using Portal Search Engine (PSE) under WebSphere Portal.

Regards

Dave

Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...