If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How do I add hyperlink to help drop down

Started by cspecken, 21 Apr 2010 04:55:18 PM

Previous topic - Next topic

cspecken

I am trying to add additonal help content for our users.  The goal is to add additonal links to the help drop down.  I have looked all over for info on how to achieve this with no luck.  Any ideas or information will be greatly appreciated.


Thanks in advance

tupac_rd

not sure if you can add to help dropdown, but I think you can add something next to Help link, which you might already know.... Post it under Cognos Administration, and if Paul M reads it he might be able to help you..... he is really good at this stuff

hth
2pac

CognosPaul

Thanks for bumping this, I didn't see it before. I'm going to be working at a site that only has 8.2 for the foreseeable future, but whenever I have access to a machine with 8.4 I'll poke around. One of these days I'll just email myself a copy of the presentation.xsl file so I can poke at it from the comfort of home.

CognosPaul

#3
To begin with, there is an IBM article on adding and hiding UI elements found here.

However, it's much more fun tweaking the undocumented internals. So let's forget the boring system.xml file and start with the presentation.xsl file found under ..\c8\templates\ps\logicsheets\presentation\main\presentation.xsl.

Open that file and look for the string "<!-- help -->". This group is what controls the contents of the flyout menu list. Look for bannerHelp('companyWebsite'); and copy the entire section from <out:if to </out:if>, paste it directly after.

Now, in the new section change the bannerHelp('companyWebsite'); to bannerHelp('myURL');

Save and close the file.

Next you'll need to open ..\c8\webcontent\ps\portal\js\banner.js

Do a search for bannerHelp; it should be in row 222. Add this section:

case 'myURL':
openURL("http://www.cognoise.com/community/");
break;


You can replace that URL with one of your choosing, if you absolutely must.

Save and close the file. Restart Cognos, cross your fingers and log in.

If Cognos doesn't load, restore the backups you made. You did make backups of both files before you modified them, right?

tupac_rd