Академический Документы
Профессиональный Документы
Культура Документы
IBM Software
Contents
OVERVIEW
DURATION...........................................................................................................................................................................4
LAB 1
1.2
1.3
1.4
APPENDIX A
TROUBLESHOOTING
APPENDIX B
NOTICES
APPENDIX C
31
32
34
Page 3
IBM Software
Overview
In this lab you will integrate content from IBM Connections into WCM content pages through the
federated documents feature. The federated documents feature enables you to insert links to content
that resides in a remote content repository. You can now insert links to documents from repositories that
support Content Management Interoperability Services 1.0 (CMIS 1.0).The federated documents feature
can acquire metadata from remote systems that support the following methods:
Document Services remote interfaces, as supported by Lotus Quickr, DB2 Content Manager,
and FileNet Content Manager
ATOM feeds
The CMIS specification aims to standardize a Web services interface specification that will enable
greater interoperability of Enterprise Content Management (ECM) systems.
The CMIS specification provides a Web services interface that:
Decouples web service and content. So CMIS can be used to access a historic document
repository.
One use case scenario for CMIS is Federated Repositories. This is where an application talks to many
different repositories while presenting a singular interface to the user. In WCM
Duration
You should be able to complete this lab in approximately 30 - 40 minutes.
IMPORTANT
This lab is dependent on the Nested Navigator lab for the libray that gets completed with that lab. If you
follow just the steps to create the library from the Nested Navigator lab, this lab will work.
Page 4
IBM Software
Lab 1
To demonstrate the new support for CMIS in WCM, you will create a personalization rule which will
retrieve all of the files in an IBM Connections files folder. You will create a personalization component
which references the personalization rule.
IBM Connections files enable you to share content with other people. You can use files to:
Files provide a convenient way to share documents, spreadsheets, presentations, and other
types of files with people without the need to send large files through email.
1.1
Before you can access documents on remote servers, you must first register the remote server with the
WebSphere Portal server. This includes specifying the authentication method and location of the server.
This step is typically done by the administrator (not end-users).
NOTE: IN ORDER TO SAVE TIME, THIS SETUP/CONFIGURATION HAS BEEN DONE FOR YOU.
THESE STEPS ARE LISTED HERE FOR YOUR REFERENCE. PLEASE REVIEW AND THEN
PROCEED TO THE NEXT SECTION.
__1.
__2.
Page 5
IBM Software
__3.
__4.
__5.
Add the following three properties. Note that the names/values ARE CASE-SENSITIVE.
Page 6
Name
Value
: wp.federated.documents.connections1.type
: CMIS
Name
Value
: wp.federated.documents.connections1.url
: https://connections.ibm.com/files/basic/cmis/my/servicedoc
Name
Value
: wp.federated.documents.connections1.title.default
: IBM Connections Files
IBM Software
These property values define the server name, url location, and protocol
used for communication. Note that additional servers can be defined by
changing the suffix (i.e. wp.federated.documents.connections3.url and
wp.federated.documents.connection3.url).
__6.
__7.
Because communication with the IBM Connections Server is performed over HTTPS, the
Connections Server SSL certificate must be imported to set up a trust association. This is
accomplished by completing the steps below:
__a.
__b.
__c.
__d.
__e.
__f.
Click the Logout link located in the top right corner of the window.
Page 7
IBM Software
1.2
In this section, you will learn how users can insert links to files stored in a CMIS Repository, such as IBM
Connections Files. There are other repositories that can be used like IBM Filenet and IBM Lotus Quickr.
__1.
Complete the following steps to populate IBM Connections with conference related files.
Although outside the objective of this lab, it is important to note that by uploading files into
Connections, you can easily share with others in your network, in a community, and get
feedback before making them available on the external site.
__2.
__3.
Click the Upload a File button, located in the top right corner of the window.
__4.
Navigate to your lab files directory (/root/Desktop/Lab Files/vCMIS) and select the
ConferenceInfo.pdf file. Enter ConferenceInfo as the name, and enter conference info as
the tag values. Choose the share with the Public and then click the Upload button.
Page 8
IBM Software
__5.
Click the Upload a File button once again. Browse to your lab files directory and select the
ConferenceSchedule.pdf file. Enter ConferenceSchedule as the name, and enter
conference schedule as the tag values. Choose the share with the Public and then click the
Upload button.
To make the list more interesting, add your own files to the folder. There are additional files you
can upload in the /root/Desktop/Lab Files/CMIS directory. There is a link to the Lab Files
directory on the desktop.
__6.
Verify that the conference related files appears in your file listing. (Note that you may have
other files there, from other labs.)
Select a file and view the metadata contents and optionally examine the document.
1.3
We will create a Personalization rule to select these documents and create a Personalization component
in Web Content Manager to use within content.
Page 9
IBM Software
Portal Personalization will help the federated documents feature to retrieve metadata about documents
stored in external content management systems or document repositories, such as IBM Lotus Quickr,
IBM DB2 Content Manager, or IBM FileNet Content Manager, and IBM Connections.
You can use a personalization component in IBM Web Content Manager to display metadata from
federated documents and to create links that can be used to download or open the documents.
1.3.1
__2.
Login using wpadmin for the userid and passw0rd for the password.
__3.
__4.
Click New->Rule.
CMIS
__5.
Page 10
IBM Software
__6.
Click on the Web Content link in the Select statement and choose Federated Documents.
__7.
Click the > next to value. Scroll through the popup dialog box until you see Select
Document Folder.
Page 11
IBM Software
__8.
The next dialog box displays the option to select from a pre-configured server or you can type in
the URL for a content server. You can also select the authentication method.
Choose the IBM Connections Files option and click Next.
__9.
Page 12
At the beginning of this lab, we outlined the steps to register the IBM Connections
server with the WebSphere Portal server. This included specifying the authentication
method and location of the server. This is why you see IBM Connections listed as a
predefined server in the dialog box. Take the default selections in the Select a Folder
dialog box and click the Next button.
IBM Software
__10.
__11.
__12.
Click Save.
__13.
Click the Preview tab. The files stored in the Articles folder on IBM Connections should display.
Page 13
IBM Software
Now that you know the rule works correctly, you will reference this rule in a personalization component in
WCM.
1.3.2
Using the Web Content Manager Authoring Portlet, we will create the component. We will be using the
library created in the previous lab.
__14.
Page 14
IBM Software
__15.
Click New->Component->Personalization.
__16.
Type CMIS PZN Component in the Name and Display Title fields.
__17.
Page 15
IBM Software
__18.
Page 16
Click the Search button in the Personalization Element section. Select the CMIS PZN Rule.
Click OK.
IBM Software
__19.
__20.
Page 17
IBM Software
<h4>
<a target="_blank" href=" [AttributeResource
attributeName="contentLink" separator=","]">
[AttributeResource attributeName="title" separator=","]
</a>
</h4>
__22.
Footer
</ul>
__23.
__24.
__25.
Click Preview. Select Articles as the Site Area and Click OK.
Page 18
IBM Software
1.3.3
__27.
__28.
Place your cursor just below this line in the Presentation Markup field.
Page 19
IBM Software
__30.
__31.
Click the Select a library component button. Select the CMIS PZN Component.
__32.
Click OK.
Page 20
IBM Software
__33.
__34.
Page 21
IBM Software
1.4
This far, we have used Personalization to get a a list of files coming from IBM Connections. We are
using the CMIS protocol to link to a set of files. We will use the CMIS protocol in this section directly
from the Rich Text Editor.
We will post the content on a web page.
__1.
In the Library, select New > Content > Select from all Content Templates.
__2.
Make sure you are in the Nested Navigator library and select Article Authoring Templates and
click OK.
Page 22
IBM Software
__3.
__4.
Add the following text in the rich text field and press enter to add a blank line after the text.
Conference Info and Conference Schedule are available as downloadable documents.
__5.
Add a link to the ConferenceInfo.pdf document stored in IBM Connections by completing the
following steps:
__a.
From the rich text editor, highlight the words Conference Info and click on the Insert
Link to Remote Document toolbar icon, as shown in the figure below:
__b.
Select IBM Connections Files as the predefined server and click Next.
Page 23
IBM Software
__c.
Page 24
Navigate to the wpadmin-->My Files folder on the left, select the ConferenceInfo.pdf
document, and then click Finish.
IBM Software
__d.
Observe that the Conference Info words within the rich text editor now appears as a link.
__6.
__7.
Verify that your rich text editor now has two links, as shown in the figure below, and then click
the Save and Close button.
__8.
__9.
Page 25
IBM Software
__10.
__11.
Click on the Content tab. Search for web content. Select the Web Content Viewer (JSR 286).
__12.
Drag the portlet right after the first portlet on the CTC Demo Home page.
__13.
You should see the following display on your screen. Click the Save link.
Page 26
IBM Software
__14.
Click on the Arrow in the upper right hand corner of the portlet and select Edit Shared
Settings.
__15.
Select Content Type: Content Item. Content Behavior: Select content and path.
Page 27
IBM Software
__16.
__17.
__18.
Page 28
IBM Software
__19.
__20.
__21.
In this lab, you learned about integrating content repositories using the CMIS standard. As you
experienced, WCM includes multiple approaches to including content from other content repositories.
The two we illustrated in this lab were using a personalization rule referenced in a personalization
component. We referenced this personalization component in a presentation template. This component
displayed all the content in the My Files folder in IBM Connections.
Page 29
IBM Software
The other method you tried was to create a link to content in the rich text editor. This allowed you to
include links to specific files within IBM Connections. Without the addition of the CMIS standard in Portal
and WCM 8, it would be much more difficult to integrate content from other repositories into WCM.
You can use these techniques to help integrate documents into the context of a we4b content page.
Lab is complete.
Page 30
IBM Software
Appendix A Troubleshooting
Include this section IF APPLICABLE. Remove this section if you do not need itsubsequent appendices
will automatically renumber.
Additional appendices if applicable:
Appendix B FAQs
Appendix C Sources
Appendix
Page 31
IBM Software
Appendix B Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries.
Consult your local IBM representative for information on the products and services currently available in
your area. Any reference to an IBM product, program, or service is not intended to state or imply that
only that IBM product, program, or service may be used. Any functionally equivalent product, program,
or service that does not infringe any IBM intellectual property right may be used instead. However, it is
the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or
service.
IBM may have patents or pending patent applications covering subject matter described in this
document. The furnishing of this document does not grant you any license to these patents. You can
send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property
Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation
Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106-0032, Japan
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states
do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement
may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes will be incorporated in new editions of the publication.
IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in
any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part
of the materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Page 32
201202_TEC_workbook_TEMPLATE.ott
IBM Software
Any performance data contained herein was determined in a controlled environment. Therefore, the
results obtained in other operating environments may vary significantly. Some measurements may have
been made on development-level systems and there is no guarantee that these measurements will be
the same on generally available systems. Furthermore, some measurements may have been estimated
through extrapolation. Actual results may vary. Users of this document should verify the applicable data
for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of those products, their
published announcements or other publicly available sources. IBM has not tested those products and
cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM
products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of
those products.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without
notice, and represent goals and objectives only.
This information contains examples of data and reports used in daily business operations. To illustrate
them as completely as possible, the examples include the names of individuals, companies, brands, and
products. All of these names are fictitious and any similarity to the names and addresses used by an
actual business enterprise is entirely coincidental. All references to fictitious companies or individuals are
used for illustration purposes only.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs
in any form without payment to IBM, for the purposes of developing, using, marketing or distributing
application programs conforming to the application programming interface for the operating platform for
which the sample programs are written. These examples have not been thoroughly tested under all
conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these
programs.
Appendix
Page 33
IBM Software
AIX
DB2
Lotus
Redbooks
Tivoli
CICS
developerWorks
Lotus Workflow
Red Brick
WebSphere
ClearCase
DRDA
MQSeries
RequisitePro
Workplace
ClearQuest
IMS
OmniFind
System i
System p
Cloudscape
IMS/ESA
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or
trademarks of Adobe Systems Incorporated in the United States, and/or other countries.
IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications
Agency which is now part of the Office of Government Commerce.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel
SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its
subsidiaries in the United States and other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the
United States, other countries, or both.
ITIL is a registered trademark, and a registered community trademark of The Minister for the Cabinet
Office, and is registered in the U.S. Patent and Trademark Office.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle
and/or its affiliates.
Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other
countries, or both and is used under license therefrom.
Linear Tape-Open, LTO, the LTO Logo, Ultrium, and the Ultrium logo are trademarks of HP, IBM Corp.
and Quantum in the U.S. and other countries.
Page 34
201202_TEC_workbook_TEMPLATE.ott
NOTES
NOTES