You can embed document generation capabilities in Open
Social containers, such as Rational® solution for Collaborative
Lifecycle Management dashboards.
Before you begin
The administrator might have to set the CORS_DOMAINS property
on the rpeng server to allow XHR requests from the
Rational solution for CLM server.
This is not required if the CLM application and the web app are co-hosted.
About this task
The web app provides an example widget that can access the latest version of a report. Once you
add the widget to an OpenSocial container, you can generate the document from the embedded widget.
You can create additional widgets using the REST APIs. Any number of widgets can be added. The
following steps use a CLM dashboard as the container.
Procedure
- You can find the sample widget at http://rpe_server:port/widgets/singlereport.xml.
- Go to your Open Social container.
- From the dashboard, click the Add Widget tab.

- Click Add OpenSocial Gadget.
- Enter the URL to the sample widget from step 1.
- Click Add widget.
- Save your changes. The widget is added
to your dashboard.
- In the widget menu, click Settings.
- Specify the report name and whether it is shared. If you
want the documents to be shared, the documents are visible to anyone
with access to the server.
- Log into Rational Publishing
Engine in the widget.
- Click Refresh in the widget.
- Click Generate Document. After the document is generated, you are prompted to download
the documents and logs.