Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > Developing Applications > How to use OpenSocial Gadgets in IBM Notes
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

XPages アプリケーションで Embedded Experience メールを実現する

XPages アプリケーションを Embedded Experience メールで利用する際の実現方法の解説です。

Embedded Experience メールを試す

IBM NotesDomino 9.0 Social Edtion で XPages を利用した Embedded Experience メールの実現方法です。

How to use OpenSocial Gadgets in IBM Notes

IBM Notes 9.0 enables you to use OpenSocial Gadgets on our business. This document describes how to use OpenSocial Gadgets in IBM Notes 9.0.

IBM iNotes で OpenSocial Gadgets を利用する

IBM iNotes で OpenSocial Gadgets を利用する際の設定方法です。

IBM Notes で OpenSocial Gadgets を利用する

IBM NotesDomino 9.0 Social Edition から利用可能になった OpenSocial Gagdtes を利用する際の設定方法です。
Community articleHow to use OpenSocial Gadgets in IBM Notes
Added by ~Anita Bregeromanli | Edited by ~Anita Bregeromanli on August 14, 2013 | Version 4
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
IBM Notes 9.0 enables you to use OpenSocial Gadgets on our business. This document describes how to use OpenSocial Gadgets in IBM Notes 9.0.
Tags: OpenSocial, Widgets, Social, IBM Notes
ShowTable of Contents
HideTable of Contents
  • 1 Getting Started
  • 2 Required Components
  • 3 Creating OAuth Token Store application
  • 4 Creating Widgets Catalog application
  • 5 Create Account Document
  • 6 Creating Policies
    • 6.1 Creating Desktop Policy
    • 6.2 Creating Security Policy
  • 7 Register OpenSocial Gadgets
  • 8 Approve OpenSocial Gadgets

Getting Started


IBM Notes/Domino 9.0 Social Edition is supported OpenSocial components so that we can integrate more business applications by using OpenSocial Gadgets.
Also, we can integrate application inside to email by using OpenSocial technologies as an Embedded Experience Mail.
This document is described how to use OpenSocial Gadgets in IBM Notes. And, It will be required if you want to use Embedded Experience Mail.

Detail of OpenSocial in IBM Notes/Domino is:http://www-10.lotus.com/ldd/dominowiki.nsf/dx/IBM_Domino_9.0_Social_Edition_OpenSocial_Deployment_Cookbook

Required Components


If you want to use OpenSoical Gadgets in IBM Notes, those components and applications will be required.

IBM Domino (Server)
- OpenSocial Components
(*) You have to install OpenSocial components separately from IBM Domino installation modules.
- Widgets Catalog Application (NSF)
- OAuth Token Store (NSF)

IBM Notes (Client)
- OpenSocial Components
(*) You can install OpenSocial Components from IBM Notes installation modules.

Creating OAuth Token Store application


OAuth Token Store will store information of authentication, authorization and proxy. And, those information will be required when running OpenSocial Gadgets in IBM Notes.
In order to create an application, you have to use console commands of IBM Domino. You can NOT create an application by manually.

1. Creating a NEK (Named Encryption Key).
Execute following command on IBM Domino console.

keymgmt create nek e.g.) keymgmt create nek NotesCons



2. Creating an application by using created NEK
Execute following command on IBM Domino console.

keymgmt create credstore



OAuth Token Store application will be generate automatically under Data\IBM_CredStore directory.

3. Configure an OAuth Token Store application
Open ACL and add [Admin] role to Administrator user. Then, open application and go to "Configuration" view.
Click "Create Encryption Key" button to generate an encryption key.



Creating Widgets Catalog application


1. Create a Widget Catalog application from "Widget Catalog(9)" (toolbox.ntf) template. This application must be created on IBM Domino.



2. Open ACL and add [Admin] role to Administrator user.

3. Enable Agent
Enable all scheduled Agents except (ToolSweeper) agent.


4. Association with OAuth Token Store application
Open Widget Catalog application, then go to "Admin" -> "Configuration". Then, click "Configure Credential Store" button and input information of OAuth Token Store application.「


(Option) You can set Widget Catalog application as a XPages application when opening it from IBM Notes.


Create Account Document


You will need SSO setting between IBM Notes OpenSocial components and IBM Domino OpenSocial components.
So, you have to create a new Account document.

Open Domino Directory(names.nsf), then go to "Policies" -> "Account". And click "Add Account" button to create an account document.

Type following values
Account server name: http:///fiesta/container
Domino Sigle-Sign On server:


Go to "Advanced" tab and input following values
Item - PreferredUsernameField
Value - fullname



Creating Policies


You have to create a new policy then assign both Desktop policy and Security policy.

Creating Desktop Policy


Create a new Desktop policy, then go to Widgets tab.
Type following values:

Widgets catalog server: Widgets catalog application name: File name of your Widget Catalog application (e.g. toolbox.nsf)
Widget catalog categories to install: All (Any values are OK)
Gadget Server URL - http:///fiesta

Others...


Go to "Accounts" tab and add account create previous step


Go to "Custom Setting", then open "Notes.ini tab.
Add following value after clicking "Edit List" button.

ENABLE_EE = 1



Creating Security Policy



Go to "Execution Control List" tab, then click "Edit" button.
Add administrator user and check "Ability to configure Widget capabilities" property.



Go to "Proxies" tab, then click "Edit list..." button and input following values.


Context: xsp/proxy/BasicProxy
URL: http:// Action: GET,POST
Cookies: DomAuthSessId,LtpaToken,LtpaToken2
Mime-type and Headers: *



Register OpenSocial Gadgets


Click "Getting Started with Widgets..." button from Toobar of IBM Notes



Choose "OpenSocial Gadgets"


Input URL of OpenSocial Gadgets xml file after choosing "Add an OpenSocial Gadget by URL".

e.g.) Create helloEE1.xml file with following contents, then copy it to Domino\Data\domino\html. You can access to created OpenSocial Gadget by http:///helloEE1.xml


<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="hello world example">
	 <Require feature="embedded-experiences" />
  </ModulePrefs>
  <Content type="html">
     <![CDATA[ 
		<H1>
		Hello World! 
	 	</H1>
	 	<iframe src="http://collaborationtoday.info" height=300 width=300>
		Please use iframe supported Web browser!
		</iframe>
     ]]>
  </Content> 
</Module>



After completed widgets creation wizard, you can see creates OpenSocial Gadgets in My Widgets side-bar application.



Approve OpenSocial Gadgets


Registered OpenSocial Gadgets can not run on IBM Notes without administrator's approval.
In order to approve the OpenSocial Widgets, administrator approve OpenSocial Widgets on Widget Catalog application.

Before approving the OpenSocial Widgets, you have to register created widget to Widget Catalog application.
Right click on registered OpenSocial Gadgets from My Widgets side-bar application, then execute "Publich to Catalog"

Input required information to Widget registration form. Please make sure input value of "Category" such as All.


After registration, open created document of registered OpenSocial Gadgets. Please make sure you have to use Widget Catalog application on IBM Domino, not a Local.

Then, go to "Admin" -> "All Widgets by Approval" view on Widget Catalog application. You will see created document under "Needs Review" category.


Open the document and change to Edit mode. Then, click to "Review" button.
You will see "Approve" button in the document.


Click "Approve" button.

Click "OK" button on "Configure Proxy" dialog box.



OpenSocial Gadgets approval process has been done. Execute created OpenSocial Gadgets after replicating Widget Catalog application.
You will see OpenSocia Gadgets in your IBM Note.




  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (4)Aug 14, 2013, 6:12:42 AM~Anita Bregeromanli  
3Jun 18, 2013, 3:19:17 PM~Nicole Desjumizenli  
2Jun 18, 2013, 2:55:59 PM~Nicole Desjumizenli  
1Jun 18, 2013, 2:45:20 PM~Nicole Desjumizenli  
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
  • Privacy
  • Accessibility