Javascript in Cognos Analytics >R4: Hello world!

In R4 the possibility to add your own javascript code has returned. Welcome back! In this entry (and the following ones) I will try to dig into what’s new and where you have to pay attention.

At first – if you watched the introduction video for R4 – it sounded like the HTML-item just got replaced with the new custom control. So, what’s the fuzz about?

Basically it’s not that simple. There are actually 3 types now:

  • HTML- item: for your basic HTML and CSS needs
  • Custom control object (new): Provide your own user interface
  • Page module (new): Basically javascript code, which affected the whole page

Continue reading