Cognos Analytics

Cognos Analytics

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

 View Only
Expand all | Collapse all

Let's see your Cognos home pages!

  • 1.  Let's see your Cognos home pages!

    Posted Mon June 27, 2022 02:16 PM
    Hi all, I'd love to see examples of folks' customized Cognos home experiences.  I know a lot of you use the different customization features, whether is be a few extensions in a theme, to an all-out replacement of the home page.  If you'd be willing to share a screenshot of your Cognos home page, that would be great inspiriation for us at IBM and other customers here in the community! 

    And do you wish you had more control over customizations?  Please add your comments about that too!

    Please note of course that this is a public forum, so ensure your screen caps don't contain any sensitive information.


    -Tim

    ------------------------------
    Tim
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Let's see your Cognos home pages!

    Posted Tue June 28, 2022 06:19 AM
    Back in the C8/C10 days I was tasked with making Cognos look exactly like a mockup I was given.

    This was for the Israeli Road Safety Authority. 

    In order to do this I had to modify a few of the Cognos internals. I'm pretty sure I'd be able to do it all with CSS these days, but at the time and with IE I had to modify various XSLT and CSS files to get it looking like this. The tabs in the center were the regular portal tabs, the rightmost is My Folders, and left of that is Public Folders. The rest were various dashboards. This was the perspective of the "Library" user. Members of the public were permitted to visit the office to do research, and this is what they would see when they log in. 


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



  • 3.  RE: Let's see your Cognos home pages!

    Posted Tue June 28, 2022 08:55 AM
    Edited by System Admin Fri January 20, 2023 04:21 PM
    My current client also has a heavily customized homepage for normal consumers. 

    They don't have access to the standard Cognos UI, instead the users access reports from the links list on the left. 



    The report is also designed to be consumed from a mobile device:



    These are all done with various extensions and scripts. I would love to have more customization options directly in the product, instead of having to write them myself.

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



  • 4.  RE: Let's see your Cognos home pages!

    Posted Wed June 29, 2022 03:37 AM
    Impressive! Thanks for sharing

    ------------------------------
    Philipp Hornung
    ------------------------------



  • 5.  RE: Let's see your Cognos home pages!

    Posted Wed June 29, 2022 08:28 AM
    This looks amazing Paul! 

    I'm always skeptical doing changes like this as upgrades often break these customizations.  What has your experience been with supporting these types of solutions with upgrades over the years?

    ------------------------------
    Todd Schuman
    ------------------------------



  • 6.  RE: Let's see your Cognos home pages!

    Posted Wed June 29, 2022 09:27 AM

    The first one was an absolute nightmare. Since I was modifying the underlying xsl files every time there was an upgrade or patch I had to redo all of the changes.

    The latest one is far more stable. For the most part I'm either using the published API for interacting with prompts, or adding features to Cognos. The links panel (and the dropdown menus, more info, prompts, and email pane) uses a div with CSS transitions (https://www.w3schools.com/css/css3_transitions.asp). The links themselves are standard drillthrough definitions.

    The graph switcher is also something similar. It simply switches between two divs. The tricky part here is that I need to avoid using display:none in the CSS, or the native JS graphs won't size correctly. 

    The export to Excel and PDF buttons just use Cognos Mashup Services in the backend to run the report. With that support is guaranteed until at least version 12. 

    The responsive layout is by using flexbox. In this demo I was lazy and just used a series of HTML items, but it is possible to define local classes with the necessary settings. I haven't figured out how to embed media queries in the local classes, so those would have to be an HTML item.

    Ultimately unless Cognos stops using HTML (unlikely) it should continue to work. There might need to be some tweaks here and there if there are structural changes to the generated HTML items, but this report specifically did not need any work when upgrading from 11.1.5 through 11.2.1. 

    There are some things here that do use some undocumented APIs or features. If you were to take Cognos and shrink the page like I'm showing above, the iframe holding the report wouldn't let the width go that low. For some reason there's a min-width set. So I have a custom control that looks for the min-width and removes it. The email button also relies on a few undocumented API calls. From the Cognos point of view, clicking on that looks exactly as if the user clicked "Run As" and manually set the report to email. Any changes to those calls would require rewriting the APIs.

    There are also a few more customizations. For one in version 11.1 it was possible to add an image to the upper left of the App Bar. For some reason that got removed in 11.2. https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=roles-creating-themes vs https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=roles-creating-themes (brandIconSmall was removed). And since we can't embed our own CSS file in the themes zip, I had to write an extension to hold the CSS styles specifically to add that logo back into the upper left corner.

    This also didn't work between 11.1 and 11.2 because the HTML structure changed.



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



  • 7.  RE: Let's see your Cognos home pages!

    Posted Wed June 29, 2022 12:46 PM
    Hi, 

    Because of the sensitive information I cannot post a video showing all functionalities of our current custom landing page on a public forum. I am attaching some screenshots with comments to give a glimpse. NOTE: Right now we are on 11.1.7 and I know some features like sliding folder window will not work unless we make some changes. v11.2.2 is our test bed currently and we are looking to build two designs this time aligning with the 11.2 navigation and customization options.

    We embed complete cognos into our Multitenant SaaS product (database per tenant model) and application security and permissions apply in cognos as well that was implemented via custom authentication. All content we build in Cognos as part of product is consumed by all customers based on their access (object level as well as row level data access) . As such same landing page is shared by all consumers though the data they see is completely different. 
     
    One thing we couldn't accomplish though is opening the reports or dashboards in the same cognos window because it overwrites the already opened reports or dashboards and they all disappear from the switcher; so we are opening all objects accessed from this page in new windows. 

    Regards,
    ​​

    ------------------------------
    Kiran Passumarthi
    www.linkedin.com/in/kiranpassumarthi
    ------------------------------



  • 8.  RE: Let's see your Cognos home pages!

    Posted Fri July 08, 2022 09:26 AM
    Edited by System Admin Fri January 20, 2023 04:12 PM
    Hi Kiran,

    One thing we couldn't accomplish though is opening the reports or dashboards in the same cognos window because it overwrites the already opened reports or dashboards and they all disappear from the switcher; so we are opening all objects accessed from this page in new windows.

    If you want to open a report/dashboard (or any other perspective) by adding it to the switcher of the current Cognos page (as opposed to completely replacing the current page in the browser) you can do this with the openAppView method, e.g.



    ------------------------------
    Jim Boland
    ------------------------------



  • 9.  RE: Let's see your Cognos home pages!

    Posted Tue July 12, 2022 12:23 AM
    Edited by System Admin Fri January 20, 2023 04:43 PM
    Thanks Jim, this helps. 
    Where can we get information about these cognos methods? Is there a documentation available? 

    Regards
    Kiran


    ------------------------------
    Kiran Passumarthi
    www.linkedin.com/in/kiranpassumarthi
    ------------------------------



  • 10.  RE: Let's see your Cognos home pages!

    Posted Tue July 12, 2022 05:13 PM
    Hi Kiran,

    I believe the only official documentation on the Cognos UI APIs are here:
    https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=roles-creating-extensions

    But no, it doesn't include methods like openAppView. So, I should have added the caveat that they are not in the officially published API.

    ------------------------------
    Jim Boland
    ------------------------------



  • 11.  RE: Let's see your Cognos home pages!

    Posted Tue July 19, 2022 07:04 AM
    Jim,

    Is there anything you can tell us more about this? We'd like to be able to open either the folder or a report in separate tabs at the bottom (where getting started and recent are). So far I keep getting a spinning wheel. Is this what you got? Is what you have there a separate css file or is it anything json? We'd like to have 3 tabs at that area, and they can go to the folder. So far I've not been able to make it work.

    ------------------------------
    Vic Nicholls
    ------------------------------



  • 12.  RE: Let's see your Cognos home pages!

    Posted Tue July 19, 2022 04:24 PM
    Vic, you can do this today with custom tab extensions.  For a report, its a bit messy, you will have to embed an iframe, so its not the most efficient, but it works.
    Here's what the spec looks like.  The JS code is trivial stuff that just creates basics HTML elements for the iframe.

    `{
    	"name": "CustomizedTab",
    	"extensions": [
    		{
    			"perspective": "home",
    			"features": [
    				{
    					"id": "com.ibm.caHome.customizedTabFeature",
    					"collectionItems": [
    						{
    							"containerId": "com.ibm.bi.caHome.navigator",
    							"id": "com.ibm.bi.caHome.navigator.customizedTab",
    							"name": "customizedTab",
    							"label": "Today's News",
    							"weight": 600,
    							"module": "v1/ext/CustomizedTab/js/CustomizedTabView",
    							"properties": {}
    						},
    						{
    							"containerId": "com.ibm.bi.caHome.navigator",
    							"id": "com.ibm.bi.caHome.navigator.reportTab",
    							"name": "reportTab",
    							"label": "Sales Map",
    							"weight": 2,
    							"module": "v1/ext/CustomizedTab/js/ReportTabView",
    							"properties": {}
    						},
    						{
    							"containerId": "com.ibm.bi.caHome.navigator",
    							"id": "com.ibm.bi.caHome.navigator.customizedNavigatorTab",
    							"name": "customizedNavigatorTab",
    							"label": "Latest sales reports",
    							"weight": 0,
    							"properties": {
    								"path": ".public_folders/Sales Reports",
    								"toolbar": [
    									"filter",
    									"sort",
    									"refresh",
    									"settings"
    								],
    								"listOptions": true
    							}
    						}
    					]
    				}
    			]
    		}
    	]
    }​


    ------------------------------
    Tim
    ------------------------------



  • 13.  RE: Let's see your Cognos home pages!

    Posted Wed July 20, 2022 08:02 AM
    Thanks! Will give it a shot.

    ------------------------------
    Vic Nicholls
    ------------------------------



  • 14.  RE: Let's see your Cognos home pages!

    Posted Wed January 15, 2025 09:13 AM

    Hi Kiran, I love your Cognos home page. Can you please share the extension I would like to experiment on the current home page?



    ------------------------------
    Mahima Mohan
    ------------------------------



  • 15.  RE: Let's see your Cognos home pages!

    Posted Wed June 29, 2022 10:51 AM
    Regarding the note about having more customization options directly in the product: I agree.  I need "simple" in administration functions. In my organization, it's basically just me handling all things 'IBM Cognos', and my background is more business analyst than programmer.  Our users are content consumers (not creators), and our login is a 3rd party portal (via cjap). I'm still new-ish to c11; we're in process of completing an upgrade from c10.2.2.  I might be missing it, but I don't see an easy way to change or set the default view for all users to, for example, 'Team Content'.  I find myself spending more time than I'd prefer doing administrative stuff than on new content, upgrades, etc.

    ------------------------------
    Mike Comiskey
    ------------------------------



  • 16.  RE: Let's see your Cognos home pages!

    Posted Wed June 29, 2022 11:21 AM
    Hi Mike, I totally agree. I't absolutely amazing what Paul does but I would never have the time to figure out only fragments of this.

    ------------------------------
    Philipp Hornung
    ------------------------------



  • 17.  RE: Let's see your Cognos home pages!

    Posted Thu June 30, 2022 01:58 AM
    We are using the "custom home page" to set home view for all our users (in fact we split all our users into two roles and for one of these roles we use the (custom) default home view which is a Report Studio report and the other role is given a Cognos Dashboard as custom home view. This gives us great degrees of control of content for our home page offering and it is very easy to set up.





    ------------------------------
    Johannes Melkeraaen
    ------------------------------



  • 18.  RE: Let's see your Cognos home pages!

    Posted Thu June 30, 2022 02:26 AM
    Our Report Studio "Welcome"-report looks like this, currently with three pages shown as tabs at the bottom, main goal is to keep it simple and direct users to the content and our wiki guides:


    ------------------------------
    Johannes Melkeraaen
    ------------------------------



  • 19.  RE: Let's see your Cognos home pages!

    Posted Thu June 30, 2022 02:02 PM
    Hi Mike.  At the moment, you can only make content like reports or dashboards your home page, or out-right replace the home page entirely with a custom home page.  If you take the latter approach, you could simply have your custom home page re-direct to the content perspective.  Luckily we plan to make this simpler in (probably) 11.2.4.

    ------------------------------
    Tim
    ------------------------------



  • 20.  RE: Let's see your Cognos home pages!

    Posted Thu June 30, 2022 04:24 PM
    Hi Tim, thank you for your reply, truly appreciated.  Given where we are at with timeline and resources, I anticipate we'll mostly likely be taking advantage of the potential updates in (maybe) 11.2.4. that you mentioned. I'm happy to hear it's on the roadmap.  Thanks again!

    ------------------------------
    Mike Comiskey
    ------------------------------



  • 21.  RE: Let's see your Cognos home pages!

    Posted Thu June 30, 2022 07:53 AM
    Hi @Tim Aston

    we removed anything from the original portal content, besides navigation bar with a "huge" slideshow of product pictures.
    IBM Cognos Landing Page Part 1

    as you move the mouse over the screen the actual menu appears and offers links to QueryStudio reports grouped by reporting domain.

    IBM Cognos Landing Page Part 2
    Opening other reports is handled by the search feature.

    I have been asking for customization of corporate fonts for years now.

    I hope that 2022 will be the year corporate fonts are coming back into the product.

    We customized all reports to contain a watermark saying that data is confidential and used GlobalReportStyles.css files for that.

    best regards,
    Ralf

    ------------------------------
    Ralf Roeber
    https://linkedin.com/in/ralf-roeber/
    ------------------------------



  • 22.  RE: Let's see your Cognos home pages!

    Posted Thu June 30, 2022 08:14 AM
    Edited by System Admin Fri January 20, 2023 04:43 PM
    Hi @Ralf Roeber,

    Nice and sleek.

    When you say slideshow, did you use any Carousal control to scroll images? Also, when a user clicks on the report link, does the report open in the same window and the switcher updated to include the currently opened report as well as any previously opened ones?

    Regards,
    Kiran
    ​​

    ------------------------------
    Kiran Passumarthi
    www.linkedin.com/in/kiranpassumarthi
    ------------------------------



  • 23.  RE: Let's see your Cognos home pages!

    Posted Mon July 04, 2022 04:00 PM
    Edited by System Admin Fri January 20, 2023 04:13 PM
    @Kiran Passumarthi

    > ​When you say slideshow, did you use any Carousal control to scroll images?
    No ... using a library for that is to much overhead.

    We use the jQuery that comes with IBM Cognos to toggle classes inside the HTML we load for showing the products and the menu.
    Toggeling the classes makes either one or the other background image visible. This gives us the chance to load even big images beforehand and have nice fading effects on it.

    The initial function to start toggling:
        foo = setInterval(function () {

            // toggles the images
            toggleImages()


            // In case debugging is need ... set debug=true
            if (debug) {
                // stop the interval at counter ten
                if (cnt == 5) { clearInterval(foo) }
                // write background images html to console
                console.log($('.background.actual')[0])
                console.log($('.background.nextBG')[0])
                console.log(":----")
                // added to counter
                cnt = cnt + 1;
            }

        }, imageChangeEvery * 1000)
    The toggleing function itself:
        toggleImages = function () {

            // Toggle options used in fadeIn and fadeOut
            options = {
                duration: 1500,
                easing: "swing",
                complete: function () {
                    $(".AMV_active").fadeOut().addClass("AMV_toggle").removeClass("AMV_active").end()
                        .add(".AMV_inactive").addClass("AMV_active").removeClass("AMV_inactive").end()
                        .add(".AMV_toggle").addClass("AMV_inactive").removeClass("AMV_toggle").end()
                }
            }

            // Toggle Pictures ... select active to toogle, select inactive to active, select toogle to inactive
            try {
                $(".AMV_inactive").fadeIn(options);
            } catch {
                console.log("Started toggling background images")
                toggleImages()
            }
            // Set new Picture to inactive
            var nI = getNewImageNumber(goUpTO)
            $('.AMV_inactive').css({ 'background': "url(" + AMV_url + '/mb_bg_' + nI + '.jpg)' })

        }

    > Is it possible to customize the home page from BACC Cognos on cloud 11.1.7?
    Yes.

    > If so, how can I do that?
    Upload the extension for your homepage.

    A kick-off documentation is here: https://community.ibm.com/community/user/businessanalytics/blogs/tim-aston1/2021/04/06/customizing-the-cognos-analytics-112-home-page

    regards,
    Ralf

    ------------------------------
    Ralf Roeber
    https://linkedin.com/in/ralf-roeber/
    ------------------------------



  • 24.  RE: Let's see your Cognos home pages!

    Posted Fri July 01, 2022 08:46 AM

    Hi!

    Is it possible to customize the home page from BACC Cognos on cloud 11.1.7?

    If so, how can I do that?

    Thanks!



    ------------------------------
    Sergio Marinho da Silva
    ------------------------------



  • 25.  RE: Let's see your Cognos home pages!

    Posted Fri July 01, 2022 11:43 AM
    Edited by System Admin Fri January 20, 2023 04:32 PM

    Hi all!

    We run Cognos as a service for our customers (travel agencies).
    All of them use the same start page. Data security is taken care of by the Framework Manager Model.
    Because for us it is a product, it needs to feel like a product and not only like a tool, when logging into Cognos.

    Our start page is a webpage and consists of three sections:

     
    The left part shows current information for the users: the status of the ETL and we also implemented general messages to all users (not in the screenshot as there currently is none).
    The middle part shows the different reporting products that can be used. Clicking on them triggers the menu on the left to slide out and show the content of a specific folder.
    The right part contains general information and links to our online user guide (Wiki based with lots of screenshots so please tell your designers that not every version needs a new layout! please...),  to our training offers, to request more reporting products, and so on.
    Oh and all of it is responsive to screen resolution of course.

    I hope this is helpful.

    Kind regards
    Agnes



    ------------------------------
    Agnes Ostheimer
    Leiterin Informationssysteme
    ta.ts - Travel Agency Technologies & Services GmbH (Lufthansa Group)
    Frankfurt
    ------------------------------



  • 26.  RE: Let's see your Cognos home pages!

    Posted Mon July 04, 2022 05:02 PM
    Edited by System Admin Fri January 20, 2023 04:51 PM
    I love all the customizations people have done for the Cognos Analytics home page! Here's one that is a little more whimsical, theming the home page for Halloween.

    halloween themed Cognos Analytics home page





    ------------------------------
    Jim Boland
    ------------------------------



  • 27.  RE: Let's see your Cognos home pages!

    Posted Mon July 04, 2022 06:49 PM
    Super cool - love it.

    ------------------------------
    Ralf Roeber
    https://linkedin.com/in/ralf-roeber/
    ------------------------------



  • 28.  RE: Let's see your Cognos home pages!

    Posted Tue July 05, 2022 10:51 AM
      |   view attached
    I had a couple of people ask for the extension I used for this Halloween theming, so I've attached it here.

    As you can tell by my screenshots, I did this on an older version of Cognos Analytics, so it's possible it may need a little updating for the current version of CA (e.g. if Cognos has changed some HTML element names for classes/IDs that I'm referencing).

    It's implemented with an extension that:
    - uploads a custom font and applies it to the UI elements
    - CSS animation for the spiders
    - applying some CSS to various elements of the CA home page (to set colors, background images, etc.)

    ------------------------------
    Jim Boland
    ------------------------------

    Attachment(s)

    zip
    halloween.zip   293 KB 1 version


  • 29.  RE: Let's see your Cognos home pages!

    Posted Fri February 21, 2025 04:36 PM

    Hello Jim,

    This customized welcome page looking is very amazing! I wonder how to customize "Recent" tabs to your welcome page. So I mean how to customize Recent tabs, Ask Watson AI Input etc. Can you help me or give me some advices?



    ------------------------------
    Eren Gulbahar
    ------------------------------



  • 30.  RE: Let's see your Cognos home pages!

    Posted Mon February 24, 2025 10:17 AM

    Hi Eren,

    I've worked with Jim in the past so I can provide some insights until he has a chance to respond.

    The key to Jim's creativity is associating the particular Halloween UX (CSS/Javascript) with HTML DOM elements. For this reason, Jim mentions "it's possible it may need a little updating for the current version of CA". What he means by this is that the extension does not use CA public APIs but rather low level CSS/javascript  injection. Over the releases the CA CSS selectors that the custom halloween UX targets may change.  In that case, you need to manually inspect the DOM (via the browser debug tools) and update any applicable CSS within the extension.

    There's essentially 2 things to consider for applying whatever CSS/javascript you like to any element of the DOM
    1) Establishing CSS selectors for the elements of the DOM you would like to impact
    2) An extension to inject the CSS/Javascript into the DOM to impact the established DOM elements (This is made possible via the power of the CA Extension framework and uploading an applicable extension.... like the Haolloween theme)

    So, in your case, you just need to study the CA DOM to satisfy step 1) for the perspective/view you're interested in enhancing. Then, enhance the Halloween extension (or something like that) via step 2).

    The heavy lifting/creativity/value here is the actual Halloween Theme itself (made up of CAA & Javascript).   The extension simplies supplies the techical means of introducing both of these to the DOM in a private low level manner.

    Hope this helps!

    Good luck with your efforts! :)



    ------------------------------
    Shawn Crook
    ------------------------------



  • 31.  RE: Let's see your Cognos home pages!

    Posted Wed July 20, 2022 09:34 AM
    Our Corporate Portal was created back in C10 and gradually updated and enhanced over the subsequent versions. We've kept the main look and feel that our users are accustomed to. When a user clicks one of the colored boxes, it launches the old Cognos portals we still present today. With hundreds of reports, it makes it easier for the users to quickly navigate to the most important reports available. The play icons inside the boxes launch training videos pertaining to those areas that run within our Cognos environment. Users can also access the folders and reports directly through the top menu dropdown links and the icons on the left. The nice thing is, this is 11.2.2 and the extensions/customization has upgraded perfectly.

    Corp Portal
     Regards,
    Heather


    ------------------------------
    Heather Wilson
    ------------------------------