Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Personalize function of DisplayPopup custom control

    Posted 11/20/25 06:04 AM

    Hi all,

    In cognos report, I'm using DisplayPopup custom control (available in version 11.2).

    Currently, in my report I have a list (graphically look-a-like a button) that trigger the custom control, valuing ?p_Doc? parameter, that filter the list inside the block indicated in cc parameters.

    In the next release, I need to use multiple buttons (the ones currently gray). 

    The idea is to instance a custom control for each button. Each instance has its own trigger list, parameter to be set (?p_doc-i?), and block_i as target.

    The different instances of the custom control conflict with each other, and the report doesn't work as expected.
    The question is, how can I modify the custom control code to allow this coexistence?

    Thanks in advance,

    Ruben



    ------------------------------
    Ruben Seror
    ------------------------------


  • 2.  RE: Personalize function of DisplayPopup custom control

    Posted 11/24/25 02:25 AM
    Edited by Thomas Wolf 11/24/25 02:27 AM

    Hi Ruben,

    The display popup custom control is IBM's sample application of a native custom control. It is the place to start your own custom control development.You certainly could adapt it to your needs, though you might want to ask IBM about their take on copyright concerning the code.

    I did not take a look at the code, but the way to realize multiple instances usually requires the "this." qualifier in front of the variables' names.

    Don't hesitate to give it a try. Writing custom controls is fun.

    Regards, Thomas



    ------------------------------
    Thomas Wolf
    BI Professional
    Techniker Krankenkasse
    Hamburg
    ------------------------------