7 Steps to making the new XPages Wiki simpler ( about an hour )

The “new” XPages wiki on Openntf ( known as the Xpage Documentation Wiki ) has some useful improvements over the older version but the tailoring for its use in the IBM product Wikis has also made it more complicated. This is a very quick article showing how it can be simplified so that it is easier to use for general projects etc..

The end result

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 1 – Hide the media gallery if you don’t want it

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 2 – Hide the extra tabs at the top

These are quite clever but too complicated for this use case

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 3 – Change the Go Elsewhere Footer

This has a complicated “hide – when” on it. delete the computed fields and replace them with links. You can copy the ones from the adjacent panel but remember that the individual links have hide-when properties too.

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 4 – Change the default opening page for the web

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 5 – Hide the company contributors panel

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 6- Correct a bizzare URL issue

This one stumped me.
When you click on a new document link within the body of a document i.e. [[document name]] where document name does not yet exist, it was trying to open a wiki at the URL /dwlhub.swg.usma.ibm.com. I cannot find this anywhere in the design or in the profile documents.
The problem also affects the plus.gif icon
The changes to the code below solve the problem. Judging by the print statements I am not the first to have had this problem.

Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Step 7 – Correct a missing MenuUtility.js file

This js file is not used and does not exist but it is down as a resource on two custom controls. If you check Firefox you will see that it is generating an error.
Remove the references
Image:7 Steps to making the new XPages Wiki simpler ( about an hour )

Leave a Reply

Your email address will not be published. Required fields are marked *

7 + 2 =