New Upload weather data from web services into TM1/Planning Analytics — Read the post →

Remove Undo and Redo button on TM1Web

In TM1 Web or in a Cube view from Architect/Perspectives, after inputting a value, a user can undo or redo their input. It is great to be able to redo a change of data but on the other hand, a user clicking the redo or undo button can cause the TM1 server to hang for several minutes.

That is why many people asked if it is possible to remove the Undo and Redo functionality. Even though there is no official setting which can turn on or off this feature, a workaround exists (only for TM1Web).

The workaround consists of a manual change to the TM1 Web CSS file in order to remove the undo and redo icons. This workaround is not supported by IBM — it is a hack, and therefore after any software upgrade, you will need to do this again.

This trick has been tested on a Websheet, Cube Viewer, TM1Web URL API and all working as expected. The only problem will be that it requires the users to clear their browser cache if they have previously opened TM1Web before.

Remove Undo and Redo button with TM1 10.2.2 FPx

In TM1 Web 10.2.2, you can find the Undo and Redo icon just after the paste icon:

To remove these icons, follow these steps:

  1. Go to the following directory: {tm1 directory}\webapps\tm1web\css

  2. Open the file standaloner.css as administrator

  3. Look for .undoIcon and replace the following code:

with:

We are adding the display:none CSS class to hide the Undo icon. In the standaloner.css, the undoIcon appears twice so you will have to repeat this step a second time.

  1. Do the same for the .redoIcon:

  1. Save the standaloner.css file

  2. You don't need to restart TM1 Web — just open TM1 Web from any browser, make sure browser cache is cleared

Remove Undo and Redo button with Planning Analytics (before Carbon theme, v2.0.8 or earlier)

In the TM1 Web version of Planning Analytics, you can find the Undo and Redo icon just after the paste icon:

To remove these icons:

  1. Go to the following directory: {tm1 directory}\webapps\tm1web\scripts\tm1web\themes\flat

  2. Open the file flat.css as administrator

  3. Look for .tm1webUndoIcon and add display:none; before the background-image property

  4. Do the same for .tm1webRedoIcon

  5. Save the file

  6. Open TM1 Web from any browser with cache cleared

Remove Undo and Redo button with Planning Analytics (with Carbon theme, v2.0.9 or later)

  1. Navigate to TM1 Web's installation directory: ..Program Files\ibm\cognos\tm1web\webapps\tm1web\scripts\tm1web\themes\carbon

  2. Take a back-up of the existing carbon.css file

  3. Edit the carbon.css as an administrator

Conduct the find/replace changes:

Change #1: Find .tm1webUndoIcon and add display:none; before the background-image

Change #2: Find .tm1webRedoIcon and add display:none; before the background-image

  1. Save the file

  2. Launch a new browser session for TM1 Web (ensure your browser cache is cleared), or launch Chrome in Incognito mode to validate

You should no longer see the two undo and redo icons.