Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Hyperlinks are not disabled in PDF version

  1. #1

    Angry Hyperlinks are not disabled in PDF version

    Using PRD 5.0.6, in many reports have the hyperlink. but not required in the PDF version. Can we hide the hyperlink property in the PDF format. Thanks in advance! Chandan Aggarwal

  2. #2
    Join Date
    Apr 2008
    Posts
    4,683

    Default

    PDF supports having Hyperlinks in it, so Pentaho puts the links in.

    Since you don't want the links, you could wrap your Hyperlink function with an IF statement to check the output type.

    If it is PDF, hyperlink = "" , else "http://<whereever you want it to go>"
    You could make it even more aware of types by putting (pseudocode - this will NOT work directly): =If(OR(Type=PDF;Type=XLS);"";"http://link")

  3. #3

    Default

    I have customized the prpt with this same code:
    IF(ISEXPORTTYPE("pageable/pdf");DRILLDOWN(" ");DRILLDOWN("local-sugar"; NA())

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.