Cognos Analytics

Cognos Analytics

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


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Print html items in pdf - Report

    Posted 11/07/24 10:44 AM

    Hi all,

    I have a simple report which shows a description with html format like in the example below:

    The last column is an html item which embeds the following value:

    When I execute the report on pdf mode, the table doesn't show last columns values:

    My goal is to obtain the same representation in both report version (html and report). 

    Can anyone helps me?

    Thanks in advance,

    Ruben



    ------------------------------
    Ruben Seror
    ------------------------------


  • 2.  RE: Print html items in pdf - Report

    Posted 11/07/24 11:37 AM

    You can use Rich Text Item instead of HTML.

    It is more restrictive but good enough.

    E.g. 

    <span>
    The <span style="font-weight:bold">word</span> is bolded 
    and the word <span style="font-style: italic">italics</span> is italicized.
    </span>
    
    <div style="font-size:14pt; text-decoration:underline">List:</div>
    
    <ul style="list-style-type:circle">
    <li style="color:green">Item <span style="font-weight:bold">A</span></li>
    <li style="color:red">Item B</li> 
    <li style="color:blue">Item C</li>
    </ul>


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