COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: AlanMacNeill on 27 Jul 2012 10:51:39 AM

Title: Automatically populate a Select and Search Prompt
Post by: AlanMacNeill on 27 Jul 2012 10:51:39 AM
Is there a way to automatically select a set of values as the "selected" values on a Select and Search prompt?

We'd like to be able to access a stored list of "favorites" from the database (out of a list of multiple thousands of options) and have that be available to be populated into the Select and Search prompt via a "Load my Favorites" button (alternatively, it could be done by default, but we'd prefer the option), which we could then allow the users to change by searching for additional entries (or removing some).

Can we do this via HTML script or Javascript object?

If it won't work with a Select and Search prompt, could it be done for a listbox prompt?