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

Java Script to Remove Keywords in Select and Search prompt

Started by sg24, 20 Apr 2011 09:34:44 AM

Previous topic - Next topic

sg24

Hi Folks,

Can anybody give me the exact java script code to remove the "keywords , Type one or more keywords separated by commas" which appears in the select and search prompt.

Also i need to remove the "options " in the select and search prompt.

Plz Note: I use Cognos 8.0 version

Thanks,
Sg24

sg24

Hi Folks,

Please respond to this as this is urgent requirement and needs to be resolved .
Experts in writing java scripts kindly respond.

Any help with this regard would be highly appreciated.

Thanks,
Sg

Arsenal

Sounds like editing the default JS for the SS prompt which comes packaged with Cognos.
This would be a global change so will affect every SS in every report. Also, you will have to reapply the change every time you apply upgrades

Arsenal

ok, I found something for removing "Type one or more keywords separated by commas ". This is taken from elsewhere, so I claim no rights over it  :)

I tested it out on 8.4 and it works. Add the following on your prompt page (header is fine to place it in)

<script>
var PMT_SSM_KEYWORDTIP = " ";
</script>

You could prolly search for "keyword" within the promptingStrings_en.js file located in \webcontent\prompting\res and apply a similar script as above once you locate the JS section that creates the "keyword" text.