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.  SampleExtensionMenuUrlLinks Extension in v12

    Posted 02/14/24 05:32 AM

    Hi

    We use the SampleExtensionMenuUrlLinks Extension in our current environment (11.2.4) to display useful links:

    In our Sandbox environment (12.0.2) it displays differently however:

    Its as though the Menu Items has gone fixed width.

    I can't see anyway to change this in the Extension Code

    Is anyone aware of way to change this?

    Cheers



    ------------------------------
    Scott Hughes
    ------------------------------


  • 2.  RE: SampleExtensionMenuUrlLinks Extension in v12
    Best Answer

    Posted 02/15/24 09:35 AM

    It looks like there's a css class controlling the width. .bx--overflow-menu-options has width:10rem;

    swapping that to fit-content fixes it:

    You can handle this by adding a link to a css file in the spec.json

    And in your css file you can add

    .popover.bx--overflow-menu-options{
      width:fit-content !important;
    }

    Republish the extension and it should look fine.



    ------------------------------
    Paul Mendelson
    ------------------------------