Tuesday, May 11, 2010

Some more portal faq

Q:
Is it possible to apply CSS for WCM rich-text editor?

A:
To get a consistent style of texts created with an authoring template, so the CSS is able to be applied into rich text editor. In the Content Form Properties you can define default styles and add your CSS file for rich text field in the Authoring template.


Q:
Is it possible to change subadmin groups of virtual portal after virtual portal was created?

A:
You are able to administer the subadministrators of a virtual portal as required by using the Portal Access Control of your initial portal installation: change the roles and access rights for subadministrators on portlets globally and before you create a virtual portal, configure the Virtual Portal Manager portlet accordingly; change the access rights for subadministrators specifically and after creating a virtual portal, use the Portal Access Control portlets.


Q:


Are there any portlets support for Microsoft Exchange 2007?



A:


Common Personal Information Management portlets (CPP) in WebSphere Portal 6 is focused on the Common Mail portlet. CPP includes the Common Mail and Common Calendar portlets. CPP provides a rich user interface, fully leverages portal services, and supports a range of PIM solutions that include Microsoft Exchange 2003, not 2007.


Q:
We have the TAM and portal integration with authentication, authorization, and credential vault, and I was wondering if this credential vault also has the GSO information or if portal stores the additional credentials in some other way?

A:
WebSphere Portal supports the storage and retrieval of credentials from other vault services, such as Tivoli Access Manager. WebSphere Portal includes a vault adapter to access the Tivoli Access Manager Global Sign-on (GSO) lockbox. Any existing Tivoli resource or resource credentials can be used in your portlets that access the credential vault service without any additional configuration. In addition, the credential vault service and credential vault management portlet can create new or update existing GSO lockbox entries. However, users who are storing credentials in the accessmanagervault.properties file must be defined in Tivoli Access Manager as global signon (GSO) users.


Q:
How do I use the category query string functionality inside the Menu element?



A:
In the menu element search properties, we may define the search for content items that are profiled using specific categories; under this setting, you are able to enter a query string parameter in the properties in order to search and get related content items.

Q:
Is batch-editing the author of content in WCM possible?

A:
Yes, You will able to do this by using WCM API. There are getAuthors, removeAuthors and addAuthors API calls available.


Q:
Is it possible to search WCM content by authors via WCM API?

A:
No, there is no direct call to get docIds for a particular author.


Q:
How can I fetch a static HTML page to the portal through FileServer portlet using absolute path?

A:
It is not possible to use absolute path. Only a relative path can be specified in that portlet. This is correctly described in the Help information of the Fileserver portlet. The file to be displayed has to reside in the the ear or war file of the Fileserver portlet.


Q:
Is it possible to configure the content of the e-mail notification in WCM?

A:
No. It is only possible to include static text in the content of email notification.

Q:
How can I control WCM Design components (e.g. Authoring Template, Presentation Template) so that it can only be used by Content Developers after getting approval?

A:
By default, WCM does not enable workflow on WCM Design components; only content items. However, workflow for design items can be enabled by editing the WCMConfigService.properties. For example, to apply workflow to Templates, append the following:

control.Template=com.aptrix.pluto.workflow.WorkflowControl

Q:
How can I analyze and audit the content in a WCM installation?

A:
WCM does not come with a built-in auditing service, unlike the core Portal. Consider using a 3rd party content auditing tool like Vamosa (well tested with WCM).

Q:
How do I ensure a Portal i5/OS installation is properly cleaned before trying to complete a Portal installation again?

A:
1. Try to remove the portal server profile wp_profile (both server1 and Websphere_Portal) from the HTTP admin. Continue with step 2 whether this fails or not.
2. Uninstall Portal. Make sure it finishes successfully.
3. Remove the wp_profile directory under /QIBM/UserData/WebSphere/AppServer/V6/Base/profiles and remove the PortalExpress directory under /QIBM/ProdData/ if they still exist.
4. Delete all Portal databases if they still exist. These databases normally start with WP. There should be 6 - 8 databases with the following names assuming you only have one portal profile on the system:

WPECMM.LIB
WPECST.LIB
WPEDGN.LIB
WPEFDB.LIB
WPEJCR.LIB
WPELKM.LIB
WPEREL.LIB
WPESYNC.LIB

5. Make sure the user profile wpdb2ins doesn't exist on the AS400.
6. Make sure the directory wpdb2ins doesn't exist under /home
7. Delete the library wpdb2ins.lib, if it still exists.
8. Delete the library QWPE6001 if it still exists.
9. Make sure you are using a user profile that has *SECOFR and *ALLOBJ authority to the system
10. Only install the portal code first without configuring a new server
11. After installation finishes, check the contents of the library QWPE6001 to see if it contains save files.
12. Make sure QEJBSVR still has a password and it is enabled.
13. If all is ok, try to configure a new Portal server from the HTTP admin


Q:


How do I reset the state of a WPF portlet when navigating back to the page from another page by clicking a Portal page tab?



A:


In order to reset the state of a WPF portlet when clicking a Portal page tab, modify the Portal theme as per Technote "How to create a theme that does not preserve the state when navigating from page to page".


Q:


What is the Best Practice to migrate content from WCM 2.0.2 to WCM 6.0 and not maintain its version?



A:


1. Migrate everything from 2.0.2. to 5.1.0.X. I would recommend migrating to a 5.1.0.5 system (they might run into PK13120 on a lower WCM version).
2. Syndicate only live items from this 5105 system to another 5105 system. This will ensure that versions will not get syndicated but will also cause any draft items not to get syndicated.
3. Migrate from WP 5105 server to the 6.0.X server with no versions but only live content.

Q:
How can the WCM Rich Text Editor (RTE) be customized to turn off certain feature buttons?

A:
It cannot be done with the out-of-the-box RTE. The RTE must be replaced with a more powerful one. The available options are:

1) Ephox EditLive! is the recommended RTE for WCM integration; it has more flexibility, power and is tested to work with WCM.
2) Other possible RTEs might be like OpenSource RTEs such as FCKEditor and TinyMCE. However, no tight integration is available with WCM; there is a need to write custom integration code. This has been done before.

Q:
Do I need to restart the Subscriber Portal after changing the syndication interval at syndicator end and rebooting the Syndicator Portal?

A:
No, you do not need to restart the Subscriber Portal if it is a one way syndication. According to the WCM Syndication Design, the SYNDICATOR initiates the syndication. So in the case of one way syndication, you only need to restart the Syndicator. However, in the case of two way syndication you need to restart both servers since both are acting as Syndicators!

Q:
Is it possible to have two syndicator on one portal, each having a different syndication frequency?

A:
Currently, WCM has no way to automatically syndicate libraries on a varied or different schedule. All libraries, and more importantly all syndicator / subscriber pairs, are triggered based on the itemChangedTaskDelay value in the WCMConfigService.properties file. More simply put, the itemChangedTaskDelay defines a system wide timer for all syndication events. The only way to get around this is to utilize manual syndication for varying libraries.


Q:
Is it possible to push a single content from Authoring to delivery server without syndicating the Library?

A:
In WCM 6.0.x, it is not possible. The smallest syndication granularity you can obtain is at the Library level.


Q:
How do I share Portlet and HTTP Session without the use of Application scope?

A:
Under JSR168 standard, session sharing between portlets and servlets are difficult at best. Wait until Portal supports JSR286. As per the article below, shared session across Web applications will be in the standard:

Comment lines: Stefan Hepper: Why you should take an early look at the Java Portlet Specification V2.0
====================================================================
# Shared session attributes -- for sharing session data beyond the current Web application.

JSR 286 provides the shared session attributes that can be shared across Web applications. In the portlet.xml file, you can define the attributesthat are shareable declaratively, and then use the existing portlet session APIs and the application session scope to share this attribute across Web applications.

Q:
Why I cannot see newly created items in my search results?

A:
As the search indexes are updated periodically, the newly created items will appear in search results after the search index is updated.

Q:
Is it possible to implement a solution where if my primary LDAP server fails, WebSphere Portal redirects their requests to my secondary LDAP server at runtime?

A:
Yes, it is possible to implement LDAP failover in WebSphere Portal.

Q:
Is it possible to use Sametime Portlets with other Portals other than WebSphere Portal?

A:
No, It is not possible to use Sametime Portlets with other portals as they use IBM Portlet API and not JSR 168 compliant API.