Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Row Size customization for All users

    Posted Wed April 02, 2025 11:32 AM

    In Cognos Analytics 12: is it possible to adjust row size to Compact or Short for all users?



    ------------------------------
    Snjezana Skledar
    ------------------------------


  • 2.  RE: Row Size customization for All users

    Posted Thu April 03, 2025 06:58 PM

    Greetings!

    You can do it with a custom extension.

    Invoke a JavaScript similar to:

    document.querySelector('button[data-id="listView"]').click();
    document.querySelector('button[data-id="settings"]').click();
    document.querySelector('input[name="rowSize"][value="short"]').click();
    document.querySelector('button[data-id="settings"]').click();

    @Tim Aston might suggest a more robust approach



    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------



  • 3.  RE: Row Size customization for All users

    Posted Fri April 04, 2025 01:53 PM

    You can also modify the JavaScript file on the server:

    webcontent\bi\js\ca-content\content\content.js

    But then you have to repeat this modification  after every Cognos upgrade



    ------------------------------
    Andrei Istomine
    Open to work - anything Cognos
    https://www.linkedin.com/in/andreii/
    ------------------------------