Modify default TM1web layout

Post Reply
JamiseBondi
Posts: 136
Joined: Wed Nov 14, 2012 10:37 am
OLAP Product: TM1
Version: 2.0
Excel Version: Office 365

Modify default TM1web layout

Post by JamiseBondi »

Hi guys,

Is it possible to modify the existing layout of TM1web such that you can hide certain banners or buttons i.e. to change the default layout of tm1web as it's rendered in a browser. For example. the 'banner' that contains "IBM Cognos TM1Web on the left and on the RHS is .... Help | Logout
Can this banner be hidden or modified in any way?

Many thanks
ascheevel
Community Contributor
Posts: 209
Joined: Fri Feb 15, 2013 5:49 pm
OLAP Product: TM1
Version: PA 2.0.9.1
Excel Version: 365
Location: Minneapolis, USA

Re: Modify default TM1web layout

Post by ascheevel »

Short of direct editing the source files in the install location that would then get overwritten any time you upgrade, I'm not aware of how to do this. I guess you could create a custom browser extension that dynamically updates the html of the page for all users. You could even build your own custom webpage and leverage the TM1Web api for rendering cubeviews, websheets.

Are you trying to hide it due to screen area issues or are you trying to insert custom hyperlinks?
konstantin-spb
Posts: 9
Joined: Thu Feb 20, 2014 8:42 am
OLAP Product: TM1
Version: PA 2.0.9
Excel Version: 2016
Location: Russia, Saint-Petersburg

Re: Modify default TM1web layout

Post by konstantin-spb »

Hi,

PRODUCT_NAME:"IBM® Planning Analytics 2.0.9",
ABOUT_STR:"About",
HELP_TOOLTIP_STR:"Help",
LOG_OUT_STR:"Log Out",

On windows installation for PAL 2.0.9 you can find this "magic words" in the file
<installation path>\webapps\tm1web\scripts\tm1web\common\nls\...\CommonMessages.js

(... means folder for specified language: "cs", "da" , "de" etc)

Open file with admin rights, set words value to blank or whatever you want, save file, refresh web page (no need restart any PAL services).
Last edited by konstantin-spb on Mon Jun 27, 2022 1:21 pm, edited 1 time in total.
tm123
Posts: 129
Joined: Thu Oct 23, 2014 10:15 pm
OLAP Product: tm1, cognos bi
Version: 10.2
Excel Version: 2010

Re: Modify default TM1web layout

Post by tm123 »

I also have a requirement to add a new Icon which will launch another site. The requirement is to add the Icon on the Top Banner, just after Log Out

Not sure which files need to be updated for 2.0.9.4

Thanks
konstantin-spb
Posts: 9
Joined: Thu Feb 20, 2014 8:42 am
OLAP Product: TM1
Version: PA 2.0.9
Excel Version: 2016
Location: Russia, Saint-Petersburg

Re: Modify default TM1web layout

Post by konstantin-spb »

konstantin-spb wrote: Wed Jun 22, 2022 9:33 pm Hi,

PRODUCT_NAME:"IBM® Planning Analytics 2.0.9",
ABOUT_STR:"About",
HELP_TOOLTIP_STR:"Help",
LOG_OUT_STR:"Log Out",

On windows installation for PAL 2.0.9 you can find this "magic words" in the file
<installation path>\webapps\tm1web\scripts\tm1web\common\nls\...\CommonMessages.js

(... means folder for specified language: "cs", "da" , "de" etc)

Open file with admin rights, set words value to blank or whatever you want, save file, refresh web page (no need restart any PAL services).
Sorry,

If your default language is English/US (default for TM1), then NLS (National Language Support) does not apply.
Should to be corrected immediately in the files
<installation path>\webapps\tm1web\scripts\tm1web\standalone\
TM1WebApp.js or TM1WebAppCam.js (if you use CAM)
konstantin-spb
Posts: 9
Joined: Thu Feb 20, 2014 8:42 am
OLAP Product: TM1
Version: PA 2.0.9
Excel Version: 2016
Location: Russia, Saint-Petersburg

Re: Modify default TM1web layout

Post by konstantin-spb »

tm123 wrote: Thu Jun 23, 2022 7:29 pm I also have a requirement to add a new Icon which will launch another site. The requirement is to add the Icon on the Top Banner, just after Log Out

Not sure which files need to be updated for 2.0.9.4

Thanks
Hi,

PAL 2.0.9.4 use PASS (Planning Analytics Spreadsheet Services). Unfortunately I don't have this version.
I don't know the difference between the classic TM1 Web and PASS.

But you can use developer tools in Chrome, find the class of the element, then find the file where that class is defined, and write/rewrite what you need
Post Reply