Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • WebSphere Portal Family wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Redbooks: Building a Sample Website Using IBM Web Content Manager 7.0 IBM Redbooks: Building and Implementing a Social Portal IBM Redbooks: Developing Exceptional Multi-Channel Web Experiences V7: IBM Web Content Manager Product Documentation V7: IBM WebSphere Portal Enable for z/OS Product Documentation V7: IBM WebSphere Portal Express Product Documentation V7: WebSphere Portal Product Documentation V8: IBM Web Content Manager Product Documentation V8: IBM WebSphere Portal Express Product Documentation V8: IBM WebSphere Portal Product Documentation (includes z/OS) Custom Search Scope...
Search
Community Articles > IBM Web Content Manager > Using the Generate WCM Search URL portlet in WCM Support Tools
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorKevin Dillard
Contribution Summary:
  • Articles authored: 1
  • Articles edited: 1
  • Comments Posted: 0

Recent articles by this author

Using the Generate WCM Search URL portlet in WCM Support Tools

Learn how to use a portlettool to generate IBM Web Content Manager seedlist URLs in IBM WebSphere Portal V7.

Community articleUsing the Generate WCM Search URL portlet in WCM Support Tools

Added by IBM contributor Kevin Dillard | Edited by IBM contributor Leslie Gallo on March 20, 2012 | Version 5
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
Learn how to use a portlet/tool to generate IBM Web Content Manager seedlist URLs in IBM WebSphere Portal V7.
Tags:
ShowTable of Contents
HideTable of Contents
  • 1 Introduction
  • 2 Getting started
  • 3 Generating a seedlist URL for a standalone environment
  • 4 Generating a seedlist URL for a Virtual Portal
  • 5 Conclusion
  • 6 Resources
  • 7 About the author

Introduction


In IBM® WebSphere® Portal / Web Content ManagerTM (WCM) v7, the content source for Portal Search is no longer automatically generated when a Site is made searchable. Since Sites are no longer part of WCM in v7, the content source for crawling WCM content must be manually created.

This article describes the WCM Search URL portlet tool specifically designed to help generate that Seedlist URL and eliminate incorrect formatting.

NOTE: You must be logged in as the Portal Administrator user for this tool to work properly.

Getting started

  1. Download the WCMSupportTools.war file from the IBM Support Tools portlet for Lotus WCM Web site.
  2. Install the WCMSupportTools.war file into WebSphere Portal, create a page, and add the portlet to the page; the window in figure 1 displays.
  3. Select the Generate WCM Search URL option.
Figure 1. WCM Support tools window



4. The window in figure 2 displays. There are four different options, which are based on the seedlist URL formatting options in the WCM v7 InfoCenter topic, “Indexing web content.”

Figure 2. WCMSupportTools Home

The four different types of sites, Stand-alone, Cluster, Virtual Portal, and Virtual Portal with Unique URL, correspond to environments that require slightly different seedlist URL formatting. Within each of those configurations, there are four available options for how you can crawl your content:
  • All Libraries
  • A Single Entire Library
  • Multiple Entire Libraries
  • A single SiteArea under a Single Library

Generating a seedlist URL for a standalone environment


In this section we discuss an example for standalone usage, though the steps are quite similar for all the options and are fairly straightforward:

1. After you click the Stand-alone button (recall figure 2), the window in figure 3 displays. Click the Get Libraries button.

Figure 3. Get Libraries button

NOTE: For performance reasons the Library and Site Areas drop-down lists are not populated until the Get Libraries or Get SiteAreas button is clicked.
Also, at any time during these steps, you can click the Reset entire portlet button, to take you back to the beginning.
2. Click the drop-down arrow button (see figure 4), to see the list of available Libraries that you can search, and select the library containing your content that you want to crawl.

Figure 4. Available libraries


3. If you wish to crawl all SiteAreas in a single Library, click the Generate URL button after selecting your Library name. This provides the generated seedlist URL for that single library.
NOTE: You can either select a single SiteArea under a library or the entire library; you do not have the option to select multiple SiteAreas in a library.

Also, if you select the All Libraries option, your seedlist URL will display because you cannot select SiteAreas when All Libraries are chosen.
4. Once your library is selected, click the Get SiteAreas button, to build the available SiteAreas list, and click the drop-down arrow button for SiteAreas (see figure 5).

Figure 5. Library selected


5. Select your desired SiteArea from the list; in this case, Articles is selected (see figure 6).

Figure 6. Articles SiteArea selected


6. Now click the Generate URL button; the window in figure 7 displays. You can now copy the generated URL and paste it into your newly created Content Source in your Collection under Manage Search in Portal Administration.

Figure 7. Seedlist URL generated


Generating a seedlist URL for a Virtual Portal


In this section we look at an example of generating the Seedlist URL for a Virtual Portal.

Even though WCM content is not created in a Virtual Portal, in order to search for WCM content within a Virtual Portal, you must create a new collection in the Virtual Portal. This is necessary due to the URL context of the Virtual Portal and the way the search result URLs are formatted.

First, you need to determine the URL context you used from your Virtual Portal by navigating to Portal Administration --- Manage Virtual Portals. Figure 8 shows our example of where you can find the URL context for your Virtual Portal.

You can also see that “SVP” is the URL context for this Virtual Portal, and that the host name was not changed.

Figure 8. Example Virtual Portal



Now let's go through the similar steps that we did for Standalone, to generate a WCM Seedlist URL for a Virtual Portal:
  1. Navigate to the page where you have configured your WCM Support Tools portlet and select the Generate WCM Search URL option, seen in the list of tools.
  2. Select the Virtual Portal option (see figure 9); the Virtual Portal with Unique URL option is only for when the hostname is different than the base portal (in this example it is not).
Figure 9. Virtual Portal option

3. On the next window (see figure 10), in the Enter the Virtual Portal URL Context field, enter SVP, and then click Continue.

Figure 10.



From here the steps are identical to the Standalone steps:

NOTE: For performance reasons the Library and SiteAreas drop-down lists are not populated until the Get Libraries button or Get SiteAreas button is clicked.

Also, at any time during these steps, you can click the Reset entire portlet button, to take you back to beginning.

1. Click the the Get Libraries button (see figure 12).

Figure 12. Get Libraries button


2. In the next window, click the drop-down arrow button (see figure 13). You will see the list of available Libraries that you can search. Select the library containing your content that you want to crawl.

Figure 13. Available libraries

If you want to crawl all SiteAreas in a single Library, click the Generate URL button, after selecting your Library name. This will provide you with the generated seedlist URL for that single library.

You can either select a single SiteArea under a library or the entire library; you do not have the option to select multiple SiteAreas in a library.

Note that, if you select the All Libraries option, your seedlist URL will be displayed because you cannot select SiteAreas when All Libraries are chosen.
3. Once your library is selected, click the Get SiteAreas button to build the available SiteAreas list. Select drop-down arrow button for SiteAreas (see figure 14).

Figure 14. Library selected


4. Select your desired SiteArea; in this example, “Articles” is selected (see figure 15).

Figure 15. Articles selected SiteArea


5. Once you've selected your SiteArea, click the Generate URL button; the results shown in figure 16 display.

Figure 16. Results window



Once your Seedlist URL is generated, you can Copy this URL and paste it into your newly created Content Source in your Collection under Manage Search in Portal Administration.

You can see in the URL that the Virtual Portal URL context is included:
http://zippy53.rtp.raleigh.ibm.com:10039/seedlist/myserver/SVP?
SeedlistId=web+content/Articles&Source=com.ibm.workplace.wcm.plugins.seedlist.retriever.WCMRetrieverFactory&Action=GetDocuments

Conclusion


The Generate WCM Seedlist portlet was created as a simple serviceability tool to help users properly format their WCM Seedlist URL in WebSphere Portal version 7.x. This document should help you use this tool to make your creation of WCM seedlists more efficient.

Resources


developerWorks IBM Web Content Manager product page:
http://www.ibm.com/developerworks/lotus/products/webcontentmanager/

developerWorks WebSphere Portal zone:
http://www.ibm.com/developerworks/websphere/zones/portal/

developerWorks white paper, “Making content searchable anywhere using IBM WebSphere Portal's publishing Seedlist Framework:” http://www.ibm.com/developerworks/websphere/zones/portal/proddoc/dw-w-seedlist/index.html

WebSphere Portal discussion forum:
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=168&start=0

About the author


Kevin Dillard is a member of the WebSphere Portal Support team based at IBM's Research Triangle Park, NC, facility, where he is currently the Team Lead for the Portal Runtime and Search components. Prior to this, Kevin was a member of the WebSphere Portal and Web Content Management Support teams, working exclusively on critical issues that included travel to customer locations for hands-on assistance. You can reach him at kdillard@us.ibm.com.

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (5)
collapsed Versions (5)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (5)Mar 20, 2012 1:50:09 PMLeslie Gallo  IBM contributor
4Mar 19, 2012 12:48:46 PMLeslie Gallo  IBM contributor
2Mar 19, 2012 12:32:09 PMLeslie Gallo  IBM contributor
1Mar 19, 2012 11:33:33 AMKevin Dillard  IBM contributor
1Mar 19, 2012 12:27:53 PMLeslie Gallo  IBM contributor
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 ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use