Cognos Analytics

 View Only
Expand all | Collapse all

Modify Cognos 11.2.1 Home/Welcome page

  • 1.  Modify Cognos 11.2.1 Home/Welcome page

    Posted Mon March 28, 2022 07:35 PM
    Is there any good documentation on modifying the new home/welcome page in Cognos 11.2?  The samples haven't been updated enough to explain what I need to do. Does anyone have links to documentation or better samples?


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

    #CognosAnalyticswithWatson


  • 2.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Tue March 29, 2022 02:05 AM
    Edited by System Fri January 20, 2023 04:17 PM
    Hi Todd,

    For the text "Cognos Analytics with Watson empowers...", you need to create a extension (this is a theme, actually) and you will update the property called "welcomeBannerDescription".
    "welcomeBannerTitle" might be useful too!

    "welcomeBannerTitle": "Welcome to My Company",
    "welcomeBannerDescription": "Everything you need to analyze My Company!",

    Note: edited to add theme explanation.

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 3.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue March 29, 2022 02:17 AM

    Hi Todd

    the below link can provide you few ideas to do what you want to do. 

    https://community.ibm.com/community/user/businessanalytics/blogs/tim-aston1/2021/04/06/customizing-the-cognos-analytics-112-home-page

    Look at the comments on that page to see how to hide Watch Video button and you can apply the same logic for Quick Links cards as well. 

    Hope that helps.

    @Tim Aston

    Regards,



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



  • 4.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue March 29, 2022 12:57 PM
    Thanks Kiran.  I was able to hide the video and get some good samples from this link which I hadn't seen in my searching.

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



  • 5.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Tue March 29, 2022 03:12 AM
      |   view attached
    Hi Todd,

    Here is an extension to remove Quick Launch.

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------

    Attachment(s)

    zip
    Exclude_QLaunch.zip   470 B 1 version


  • 6.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue March 29, 2022 12:57 PM
    Thank you, Patrick.  This worked perfectly.

    Where did you get the information to map the Quick Launch field to this property "com.ibm.bi.commonHome.sections.quickLaunch"?  I'd love to have access to a full list of all elements and properties to know what I can edit and modify.

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



  • 7.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Wed March 30, 2022 06:19 AM
    Hi Todd,

    I'm happy it is also working for you. 

    Here is the trick to have access to a full list of all elements in the interface. It is strange because it is not listed anymore in the product documentation...
    Note, it is still working in v11.2.1 and it was working with v11.1.7

    1. Stop the IBM Cognos service.
    2. Open install_location\wlp\usr\servers\cognosserver\bootstrap.properties.
    3. Add the following line:
      disableXSRFCheck=true
    4. Save the file.
    5. Restart IBM Cognos service.
    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 8.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Thu March 31, 2022 08:51 AM
    Thanks Patrick.  I will give this a try!

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



  • 9.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue April 12, 2022 05:32 AM
    Hi Patrick,

    I'm trying to remove the "Get Started" and "Recent" Tabs in the bottom part of the default Welcome screen.
    Do you have any idea on how I could achieve this?  Your post about the elements in the interface might be a solution, but when I add that line in the bootstrap properties, how do I then get that list?

    Thank you very much for your help!
    Stephan

    ------------------------------
    Stephan Quintelier
    ------------------------------



  • 10.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Tue April 12, 2022 05:58 AM
      |   view attached
    Hi Stephan,

    You need to search the ID you want to hide from http://<server_name>:9300/bi/v1/perspectives/home page.

    The attached extension seems to work with Cognos Analytics v11.2.1.

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------

    Attachment(s)

    zip
    Exclude_RecGetStart.zip   429 B 1 version


  • 11.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue April 12, 2022 06:09 AM

    Got it!  Thank you very much Patrick, alsof for the extension!!!

     

    Stephan






  • 12.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Wed April 13, 2022 05:36 AM
      |   view attached
    Hi Stephan,

    You might want to test and update the attached extension (based on original work from Tim Aston).

    You should have a look to the following article:
    Creating custom URLs to display and run Cognos Analytics content

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------

    Attachment(s)

    zip
    CustomizedTab.zip   931 B 1 version


  • 13.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue April 12, 2022 08:54 AM
    Hi, Stephan

    You can achieve this by this way:

    Cognos Portal > Manage > People > Accounts > Roles that you want to disable UI elements > Properties > Customization > Features. At search bar looks for "Get Started" and "Recent" and uncheck.

    Regards,

    ------------------------------
    JEAM COELHO
    Cognos Solution Architect

    LinkedIn: https://www.linkedin.com/in/jeamcoelho/
    ------------------------------



  • 14.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Wed January 04, 2023 03:59 PM
    Patrick,

    What might we be looking for after making this change? I'm looking to hide the Welcome Banner via an extension and cannot seem to find an example to get the ID for it.

    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 15.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Thu January 05, 2023 09:00 AM
    Hi Robert,

    You will find everything you are looking for in this thread:
    https://community.ibm.com/community/user/businessanalytics/discussion/how-to-disable-welcome-banner-in-1122-for-all-the-users

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 16.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Tue March 29, 2022 11:09 AM

    There are a few extensions in the IBM Accelerator Catalog in the IBM Community at this URL https://community.ibm.com/accelerators/?context=analytics&type=Extension&product=Cognos%20Analytics  -- you might take a look and see if any of these code sets help.

    Thanks



    ------------------------------
    Michael Igau
    ------------------------------



  • 17.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Wed March 30, 2022 08:08 AM
    Hi,

    To change text in welcome banner, you can try this in your spec.json of your custom theme:

    ....
    "schemaVersion": "2.0",
    "brandText": "Brand Name",
    "brandTextSmall": "Brand Name",
    "uiShellTheme":"light",
    "welcomeBannerTitle": "Welcome Message",
    "welcomeBannerDescription": "Description",
    ....


    To hide elements, watch video button, etc, I created another extension with this code in spec.json:

    {
      "name":"Theme_CSS",
      "schemaVersion": "2.0",
      "extensions": [
      {
        "perspective": "home",
        "features": [{
          "id": "home.perspective.theme.css",
    	  "cssStyles": ["v1/ext/Theme_CSS/css/style.css"]
        }]
      }
      ]
    }
    ​


    And create a folder in same directory named css and in it a file style.css with this code:

    div.ca-home-welcomeBanner-buttonsGroup , div.ca-home-welcomeBanner-closeButton{
        display:none !important;
    }
    
    div.ca-home-welcomeBanner {
      background-image: none !important;
      background-image: linear-gradient(to bottom right, rgb(0, 54, 65), rgba(149, 207, 220, 0.5) ) !important;
      height: 240px !important;
    }
    
    table.bx--data-table.bx--data-table--no-border.bx--data-table--sticky-header {
        max-height: 2000px !important;
        padding-bottom: 25px !important;
    }
    
    a.commonMenuLink img {
        height: 18px !important;
        width: 18px !important;
        opacity: .8 !important;
    }
    


    I hope it helps.



    ------------------------------
    JEAM COELHO
    Cognos Solution Architect

    LinkedIn: https://www.linkedin.com/in/jeamcoelho/
    ------------------------------



  • 18.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Thu April 14, 2022 09:09 AM
    Hi,

    not sure if I need to open a new thread on this, because I need help in 11.1.7.

    I need to show a Sharepointpage as startingpoint in Cognos 11.1.7 When I try this with a report and a IFrame, I get the message that Sharepoint does not allow to show content in a frame. Any idea/solution how to get this done?

    <iframe src="https://......./newsletter" width="1200" height="1500" frameborder="0" gesture="media"></iframe>

    Thanks,
    Jochen

    ------------------------------
    Jochen Traub
    ------------------------------



  • 19.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Thu April 14, 2022 09:44 AM
    Hi Jochen,

    You should be able to find information in this URL:
    Embed a Cognos Dashboard into a Webpage using Parameterized URLs

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 20.  RE: Modify Cognos 11.2.1 Home/Welcome page

    Posted Mon April 25, 2022 05:43 AM
    Hi Patrick,

    thanks for your answer, but I need this the other way around. I want to embed a share-point page inside Cognos as a starting-point.

    I already found a interesting page for this at http://queryvision.com/kb/ibm-cognos-analytics-11-0-4-solution-reports-blocked-iframes/
    but it did not work for me.

    Therefore, I am looking for another solution.

    Thanks.

    ------------------------------
    Jochen Traub
    ------------------------------



  • 21.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Mon April 25, 2022 05:54 AM
    Hi Jochen,

    You will probably find what you are looking for in the following page:
    Customizing the Cognos Analytics 11.2 home page

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 22.  RE: Modify Cognos 11.2.1 Home/Welcome page

    IBM Champion
    Posted Thu January 05, 2023 09:17 AM
    Hi Todd,

    For the sake of clarity, as of release 11.2.3, you can hide or show the Watch video button in the Home page, this can be done with the following instructions:
    Hiding the Watch video button in the Home page

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------