Skip to main content link. Accesskey S
  • HCL Logo
  • HCL Connections On-Premise Wiki
  • THIS WIKI IS READ-ONLY.
  • HCL Forums and Blogs
  • Home
  • API Documentation
Search
Community Articles > Customization > Embedding Connections in an IFrame
  • Share Show Menu▼

Recent articles by this author

Embedding Connections in an IFrame (V4.5)

You can customize IBM® Connections to be embedded in an IFrame.

Embedding Connections in an IFrame

You can customize IBM® Connections to be embedded in an IFrame.

Customizing the new theme

Use APAR LO78594 to customize the new theme using the customization directory.
Community articleEmbedding Connections in an IFrame
Added by ~Sean Fezveluskilen | Edited by ~Sean Fezveluskilen on October 1, 2014 | Version 2
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
You can customize IBM® Connections to be embedded in an IFrame.
ShowTable of Contents
HideTable of Contents
  • 1 Before you begin
    • 1.1 Procedure

Before you begin

IBM Connections includes a framekiller script in the header to prevent inclusion of the application into an IFrame hosted in another domain. The script resets the location of the top-level window to the URL of the embedded IBM Connections application. In IBM Connections 4, the script is included as literal JavaScript code embedded in the JSP page. Starting from version 4.5, the script is included by using a JSP tag.

Procedure

Complete the following steps to embed IBM Connections in an IFrame.

1. Obtain a copy of header.jsp and login.jsp from any of the IBM Connections enterprise applications.
2. Locate and comment out the following lines:
if(self!=top){
try {
// reset location if in different host.
// per Same Origin Policy, try to get top location attributes, 
// will get permission denied if in different origin. 
if (self.location.hostname!=top.location.hostname) 
top.location=self.location;  
} catch(e){
// reset location if in different origin 
top.location=self.location;  
}  
}

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (2)Oct 1, 2014, 10:57:15 AM~Sean Fezveluskilen  
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 ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility