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.
Check this out...
http://www.ibm.com/developerworks/data/library/cognos/infrastructure/cognos_specific/page541.html
Should answer your question. .properties file change I believe.
I'm so ;D I could :'( .
thank you!!!
NP, glad I could help. ;D
*cough*<-Applaud*cough* ::)
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'.
Hi,
It shows the code , but in which file we need to update this in configuration folder??
Just want to re-up Cognos8's 2-year-old question to Tseug: where is that code located?!
<cognos>\templates\ps\logicsheets\presentation\main\presentation.xsl
Friendly reminder - Make sure to make a copy of the file before you make any changes.