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

Search functionality

Started by Tseug, 07 Feb 2012 07:23:46 PM

Previous topic - Next topic

Tseug

I'm not sure if this is the right section for this question, but here goes.  We're on C10 and I'd like to make the default for our searches "Name Only".  The default is "Full Text and All Fields".  In C8 the search feature was Name Only by default (at least I think so).  How can we make "Name Only" the default search type?  Thank you in advance.

Grim

"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

Tseug

I'm so  ;D  I could  :'( .

thank you!!!

Grim

NP, glad I could help.  ;D

*cough*<-Applaud*cough*  ::)
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

Tseug

Sorry to bring an old post back to life, but I discovered this within the user GUI for Cognos that appears to be where the value is set:

{

addMenuItem("findTextInMenu_k","findTextInMenuGroup", "Full text and all fields", "","CCPopupMenu.activeMenu.setMenuItemChecked(\"findTextInMenu_k\");document.mainSearchForm.sfield.value = \'k\';");

setMenuItemChecked("findTextInMenu_k");

addMenuItem("findTextInMenu_n","findTextInMenuGroup", "Name field", "","CCPopupMenu.activeMenu.setMenuItemChecked(\"findTextInMenu_n\");document.mainSearchForm.sfield.value = \'n\';");

addMenuItem("findTextInMenu_d","findTextInMenuGroup", "Description field", "","CCPopupMenu.activeMenu.setMenuItemChecked(\"findTextInMenu_d\");document.mainSearchForm.sfield.value = \'d\';");

addMenuItem("findTextInMenu_nd","findTextInMenuGroup", "Name or description field", "","CCPopupMenu.activeMenu.setMenuItemChecked(\"findTextInMenu_nd\");document.mainSearchForm.sfield.value = \'nd\';");

}


So I need to set the default to 'N' instead of 'K'.

Cognos8

Hi,

It shows the code , but in which file we need to update this in configuration folder??

snowy

Just want to re-up Cognos8's 2-year-old question to Tseug: where is that code located?!

Grim

<cognos>\templates\ps\logicsheets\presentation\main\presentation.xsl

Friendly reminder - Make sure to make a copy of the file before you make any changes.
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)