Cognos Analytics

 View Only
Expand all | Collapse all

Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

  • 1.  Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    Posted Mon February 19, 2024 03:07 AM

    we offer two " flavors" on our reporting portal : governed reports and managed end-user reports. Both flavors can be selected by an organizational unit. As both are created in the report module and look the same, we want to add a non-removable watermark signature to a template (governed reports can only be developed on a test platform) to distinguish these reports online and as saved output from normal reports. Most challenging is to create it in such a way that the watermark cannot be removed at a later stage or added to a normal report. 

    Does anyone had a similar demand and was able to solve it or do people have ideas how to configure the Cognos platform to enable this?



    ------------------------------
    Robert Peter den Heijer
    ING Nederland
    ------------------------------


  • 2.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    IBM Champion
    Posted Tue February 20, 2024 02:41 AM

    Hi, Interesting question. What are your (minimal) layout requirements for these watermarks (e.g. text, pictures, size, background-only, ...)?



    ------------------------------
    Philipp Hornung
    Business Intelligence Manager
    Techniker Krankenkasse
    Hamburg Germany
    #IBMChampion
    ------------------------------



  • 3.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    Posted Tue February 20, 2024 04:40 AM

    hi, thanks for your quick reply. In a way I was not really thinking of this yet, options could be a page footer or a background transparent watermark. The most important for me now is how we can guarantee that the watermarks are not removed or added to other reports. I already added a watermark (image) to a template but was able to remove it or add to another reports as well, that is the real challenge i think and the reason for my question in this forum. 



    ------------------------------
    Robert Peter den Heijer
    ING Nederland
    wageningen
    +31623417955
    ------------------------------



  • 4.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    IBM Champion
    Posted Tue February 20, 2024 05:41 AM
      |   view attached

    This is difficult. One way I can think of doing this is to add a conditional style that checks the report location and then adds the watermark if it's saved in a governed report location. 

    Take a look at the attached report. When it's saved in a folder called Governed at the root directory it will show the IBM logo as a watermark, but it will not show in any other folder.



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

    Attachment(s)

    txt
    watermarkreport.txt   2 KB 1 version


  • 5.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    Posted Tue February 20, 2024 06:15 AM

    hi Paul, thanks, I am going to play with this. Do you recommend to add this to a template and can we make the condititonal style immutable?



    ------------------------------
    Robert Peter den Heijer
    ING Nederland
    wageningen
    +31623417955
    ------------------------------



  • 6.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    IBM Champion
    Posted Tue February 20, 2024 07:19 AM

    You could add it to a template, but it wouldn't be immutable. I'm trying to find another way where it would be automatic. Do you need this in PDF/Excel or only HTML?



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



  • 7.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    Posted Tue February 20, 2024 10:46 AM

    basically it should be available for all three basic formats : html, xlsx and pdf.



    ------------------------------
    Robert Peter den Heijer

    ING Nederland
    ------------------------------



  • 8.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    IBM Champion
    Posted Tue February 20, 2024 07:59 AM

    Another thought - can you set up another Cognos instance specifically for governed reports? You could override the global css parameters to add a watermark. I'm not seeing a pure css solution. The path of the report isn't available from inside the report, if it was you could do some tricks with css selectors. 



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



  • 9.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    Posted Tue February 20, 2024 10:52 AM

    I have been thinking of that option as well, not only for the watermark reason. The inconvenience however is that we need to maintain two separate environments with all the additional maintenance and controls for us and confusion for the users. We had a look into setting up different tenants, but that would also not solve the issue. Still we keep it as an option in case no other options are available to differentiate the two. I first start with the example you send me, although not immutable, it can already offer a first way of showing the difference.  



    ------------------------------
    Robert Peter den Heijer

    ING Nederland
    ------------------------------



  • 10.  RE: Can you add a non-removable watermark like a picture / text to a report to distinguish it from "normal" reports

    IBM Champion
    Posted Tue February 20, 2024 12:48 PM

    Hi Robert, A colleague of mine once had the idea to add a custom control/HTML element as a badge to governed reports and remove the create custom control/HTML capability from a copy of the CA report author role for ordinary users. Maybe you can make somet