WCM Anonymously through WebSphere Portal Search
Create new library
named AnonLib. Grant User role to all portal users and anonymous
Create a new
WebSphere Portal Search Collection. Login as the WP admin.
Navigate to Administration, Search Administration, Manage Search,
Search Collections. Click the New Collection button, enter
“AnonCollection” for location, name, and description. Leave the
rest blank. Hit OK.
have to allow anonymous users to access the portal search
collections. This is done through the WebSphere Portal
Administration page. Login as the WP admin. Navigate to
Administration, Access, Resource Permissions, PSE Sources. Click on
the Key button next to your AnonCollection collection.
Anonymous user to the User role associated with the AnonCollection:
Now, have to set
up the WCM Content for searching. Navigate to the WCM Authoring
portlet. Edit the shared settings to add the AnonLib to the Library
following items, allowing [all users] read access to every item:
action named “WFA test publish action”
named “WFStage test published stage”. Select the WFA test
publish action in the execute upon entering. In the workflow
security section, add [all users] to the Read section, this will
automatically grant read access to users when content using the
workflow is published
“WF 1 Stage Workflow”. Select the WFStage test published stage
as the workflow stage in the workflow.
Template named “AT TestAT”. Add Text component named
template named “PT TestPT”. Add the following tag:
context=”current” type=”content” key=”TextCmpnt”/><br>
“AnonSite”. Map the AT TestAT to the PT TestPT. Mark the site
as searchable, select the AnonCollection. Add admin
username/password to the form.
Site Area named
AnonSiteArea, saved under AnonSite
named “AnonContent”. Select the AT TestAT for the authoring
template, WF 1 Stage Workflow as the workflow, and AnonSiteArea as
its site area. In the TextCmpnt, enter “Search test”.
Now, you have all
anonymous WCM objects within the AnonLib library. You have a piece
of content with a search term. Next, we have to grant anonymous
access to the Portal Search Center portlet to allow anonymous
Navigate to Portal
Administration, navigate to Portlet Management → Portlets. Search
for “Search” in title starts with. Click on the Key icon to add
roles to the Search Center portlet. Grant Anonyous Portal User
privileged user role.
If you're using
the embedded search center portlet within the theme, follow these
deploy the Search Center portlet to an anonymous accessible page.
of WebSphere portal, and search for “Search” within the search
center. The content you created should appear. (If it does not,
login and force a crawl on the AnonCollection to ensure the
collection contains the WCM content
since we are anonymous, the link to the WCM content returns with the