Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Remove ability to deliver a report via email from the UI

    Posted Fri June 19, 2020 03:25 PM
    ​A client has asked me to create a customization to Cognos 11.1 to hide or remove the "Run As" delivery option "Send report by email".  They had successfully updated the Cognos 10 UI to remove this option, and they'd like the same customization in Cognos 11.1

    The Run As panel contents does not appear on the "Feature" customization for a role.

    Hiding user interface elements via Extension is straightforward provided you know the perspective and feature id for the element you wish to hide. I've downloaded the JSON for all 4 perspectives that I'm aware of (home, authoring, dashboard, modeler) and I cannot find the feature id for the Run-As delivery panel elements in any of that data.

    Is there a different perspective I should be modifying?  Or perhaps the Run As panel is a completely different animal and its contents is modified via some other means?

    Any thoughts are most appreciated!

    Thanks!

    Rich

    ------------------------------
    Richard Chester
    Director of Business Intelligence
    LPA Software Solutions
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Remove ability to deliver a report via email from the UI

    Posted Mon June 22, 2020 02:55 AM

    Hi Richard

    I would wait for R7, if possible.... that will give you all the controls over emails, attachments, links, sharing etc you want, out of the box ;-)

    Torben



    ------------------------------
    Torben Noer
    Offering Manager, Cognos Analytics and Planning Analytics
    IBM
    ------------------------------



  • 3.  RE: Remove ability to deliver a report via email from the UI

    Posted Mon June 22, 2020 12:32 PM
    Hi Rich!

    Ironically, this is something we need to do in Excellus as well and I've been able to set it up so that only Administrators have the option to attach the output.  Here's how I did it
    1. Modify the install_location/templates/ps/portal/system.xml by adding this to the system param   <param name="ui_hide">
        <CC_RUN_OPTIONS_email_attachment show="Administrators" />
        </param>
    2. I then did this
      1. Open <CA_install_location>\webcontent\bi\css\schedule\schedule.css

       

      1. Find styling definition for schedule_nested_delivery_option

       

      1. Add display: none !important; into the style:

       

      schedule_nested_delivery_option { margin-left: 2em; margin-bottom: 8px; display: none !important; }

       

      1. Do the same in the file <CA_install_location>\webcontent\bi\css\sharecommon\main.css.

       

      5.  Refresh the Browser


    In order to use the Attach report to Email, I had to use the Classic view when running the report.

    Here's a link to the IBM doc
    https://www.ibm.com/support/pages/how-remove-attach-report-option-when-scheduling-report-email

    Hope this helps!!  Take care!




    ------------------------------
    Amy Rivito
    ------------------------------