Permitting author access to the search collection in a WCM search component

WCM developers who have editor access to a search component may not have appropriate access to the search collection that the component refers to. In this case, the WCM developer may see a warning message in the WCM authoring UI, which states: ‘The search collection: <CollectionName> could not be found. Please create the collection or select another one.” The search collection selected in the component will also be tagged as [missing] as shown below… Continue reading

Posted in IBM Web Content Manager, IBM WebSphere Portal | Tagged | Leave a comment

WebSphere Portal VersionInfo.log

The WebSphere Portal VersionInfo.log file is commonly requested by IBM support as it describes the version and fix level of your platform. Here’s where it is located:

<wp_profile>/PortalServer/log

Posted in IBM WebSphere Portal | Leave a comment

jQuery Plugin Template

When writing a new jQuery plugin, it helps to start with some general boiler-plate plugin code. Here’s the jQuery plugin template that I keep on file for this purpose. Whenever starting a new plugin, you can grab this and use it as a starting point.

/*
 * jquery.pluginTemplate.js
 *
 */

(function( $ ){
  $.fn.pluginName = function(options) {

	  // there's no need to do $(this) because
	  // "this" is already a jquery object

	  var settings = {
			  'setting1'	:	'val1',
		      'setting2'	:	'val2'
	  };

	  // Maintain chainability...
	  return this.each(function() {

		  // If options exist, merge them
	      // with our default settings
	      if ( options ) {
	        $.extend( settings, options );
	      }

	      // plugin code here

	  }); // END: return this.each(function() { (which maintains chainability)

  };  // END: $.fn.pluginName = function() {
})( jQuery ); // END: (function( $ ){

Replace the plugin name with the name of your plugin. Save the js file as something like jquery.pluginName.js. Include the JS file after jQuery core on your page. Then finally, use the plugin in some way similar to this:

<div id="myContainer"></div>
<script type="text/javascript">
$(document).ready(function() {
   $('#myContainer').pluginName({option1:'option1value', option2:'option2value'});
});
</script>
Posted in General Web Development | Tagged | Leave a comment

JQuery, WebSphere Portal PageBuilder theme, and IE8

This page has been moved to the Base22 Knowledge Wiki.

Posted in IBM WebSphere Portal | Tagged | 12 Comments

Base22 Values

Today, I thought I’d share the Base22 corporate values page from our intranet. I’d like to think that our values are not just some ‘dry’ corporate mumbo-jumbo that you read when your hired and then nevermore. We love our values and we live them! The 22nd of every month is ‘Base22′ day – a day when we take the time to reflect on our values, our company, and our customers. On this day, we remind ourselves of our values and reflect on our virtues. This is what we’re all about… Continue reading

Posted in Base22 | Leave a comment


jQuery Custom Events

There are several jQuery events that you can bind to, but you can also create, bind, and trigger your own events. Here’s how… Continue reading

Posted in General Web Development | Tagged | Leave a comment

WebSphere Portal Search Resource Round-up

Following is a round-up of various reference documents related search functionality in IBM WebSphere Portal and IBM Web Content Manager. This page is updated whenever new and useful links are discovered. Continue reading

Posted in IBM Web Content Manager, IBM WebSphere Portal | Tagged , | 2 Comments

How to use custom JVM properties as configuration variables for your custom theme or J2EE application

Putting configuration parameters for your custom theme or J2EE application in Java properties files or XML files is lame. First of all, it’s a hassle for administrators to set the same attributes in multiple files in various locations on multiple nodes in a cluster. What’s worse is having to reset those attributes after an update to your package has been deployed. This is just insanity and we need to stop it. Luckily, there’s a better way. You can define custom JVM properties on your WebSphere Application Server or deployment manager and then access them from within your custom theme or J2EE application. Continue reading

Posted in IBM WebSphere Portal, Java | Tagged , | 3 Comments

User Impersonation Programming in WebSphere Portal

ImpersonationThe user impersonation feature in WebSphere Portal allows specified users or groups the ability to assume the profile of others. In this way, administrators or help-desk staff can view a personalized and secured portal the way another end-user sees it. Of course, depending on the types of content and services you provide, this could be a security risk. If you have features that should not be accessed, even in impersonated sessions, you may need to wrap those features with some specialized logic. In this post, I show you how. Continue reading

Posted in IBM WebSphere Portal | Tagged | Leave a comment