Tuesday, 16 September 2014

Making the Size of Select & Search Prompt Dynamic

By default, the width of Select & Search prompt is fixed and therefore wide text will cut off…..
searchprompt1-quontrasolutions
Note: The following Technique is only Applicable for Cognos 8.4  Fix Pack 2 and Higher..
STEPS:
1) Locate for a File properties.js   in the location …c8\web content\prompting (on the machine where you installed cognos 8 gateway)
2) Take a back of  it ( This backup is useful to restore the file properties.js if anything goes wrong)
3) Open the file with any Text editor and search for the line..
SYSTEMPROPERTY_CSEARCH_AUTO_RESIZE_RESULT_LIST=FALSE
4) Replace FALSE with TRUE

searchprompt2-quontrasolutions
5) Save the file
6) Launch the cognos and check the prompt you can see as follows.
searchprompt3-quontrasolutions

No comments:

Post a Comment