If you are new to WebSphere Portal, and setting up a test/staging /production environment, then you should closely familiarize yourself with the XmlAccess interface. This is the command line scripting interface. Yes, you are probably thinking "command line?? why got out of the green screen stone age years ago!". Well that's fine and dandy, but think about this, once you have a test system up and running, how are you going to get it out of there and into your staging environment? Run through the GUI again? What happens, when you need to continually be adding new features, testing them, and pushing them into staging for integration testing? Yes, clicking through a GUI seems a bit overwhelming. That is why we still have command line interfaces.
With the XmlAccess interface you can export a page, a theme, skins, personalization rules, etc. Then you can import them into the target server with the exported results. It also lends it self to an automated test and build process. If you want to know more about this, either leave a comment or shoot me a line.
Those of you already familiar with XmlAccess, but would really like the bring in some context sensitive (control-space) functionality you get with other XML files, you can import the portal xml schema into your Rational Application Developer. The schema file is located under the /shared/app folder in the wp.xml.jar file. You will need to unpack the jar, and import the file into your workspace, preferably under the same folder you are working in. Be sure to refresh the workspace if you import from the file system rather than RAD. Here is what you get:
This makes it much easier to build out an XmlAccess file, as RAD will read the XSD and present options for legal values in the editor.
Who really wants to remember the exact format of the schema anyway?
Labels: Portal, WebSphere, xmlaccess