Cognos Analytics

 View Only
  • 1.  AppBar Sample Report - Repromt in card2

    Posted Sat April 17, 2021 01:54 PM
    I am running the sample Cognos 11 report AppBar which uses a custom control pointing to Appbar.js.
    I have a prompt in card2 which re-prompts after the user makes a selection.  The problem is that after the reprompt, the Appbar is refreshed and the default (card0) is displayed.  The desired behavior is for card2 to be displayed.

    Does anyone have a solution?  I would appreciate the help on this.
    Thanks.

    ------------------------------
    Joyce Shelton
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: AppBar Sample Report - Repromt in card2

    Posted Tue April 20, 2021 04:46 PM

    @Joyce Shelton - Also attaching the custom Appbar.js code here.

    1. Replace the sample Appbar.js code with the attached code.

    2. Update the Sample AppBar report to remove the configuration property "Selected": true, (Screenshot attached for reference)



    ------------------------------
    Denny Narezny
    ------------------------------

    Attachment(s)

    js
    AppBar.js   4 KB 1 version


  • 3.  RE: AppBar Sample Report - Repromt in card2

    Posted Tue April 20, 2021 04:51 PM
    Thank you so much for you help!  It works!

    ------------------------------
    Joyce Shelton
    ------------------------------