Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Printable CDE dashboard with PRD problem

  1. #1
    Join Date
    Mar 2017
    Posts
    11

    Default Printable CDE dashboard with PRD problem

    Hi all,

    I'm using Pentaho BA 7.1 and PRD 7.1.
    I follow these instructions: http://pedroalves-bi.blogspot.it/201...n-pentaho.html

    1) seems that "Enable Experimental Features" has been removed, correct?

    2) I'm in stuck when paste url from CGG (adding credential parameters), not working.

    Can you help me?

    Thanks.

    PS: if there is an easyer way to print dashboards... you're welcome :-)

  2. #2
    Join Date
    Nov 2011
    Posts
    1,224

    Default

    What's on the log files? Both server and PRD?

    And I think you still need to enable experimental to get the CDA data sources.
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  3. #3
    Join Date
    Mar 2017
    Posts
    11

    Default

    Quote Originally Posted by pamval View Post
    What's on the log files? Both server and PRD?

    And I think you still need to enable experimental to get the CDA data sources.
    Link says to enable experimental in Edit -> Preferences -> General -> Enable Experimental Features but it does not exists in 7.1 PRD! Where can I find it?

    server show me a 501 page error.

    By the way I found a useful script to print an html element such as div (I cannot post code, the forum stops me (?))

    I put this code in a button component and it works for my pourpose.

    Anyway I'll be glad if I can work with PRD instead.

    Thank you!

    Alex

  4. #4
    Join Date
    Nov 2011
    Posts
    1,224

    Default

    They're called community supported feactures now.

    You need to take a look at the log files so you can find the explanation for the 501 error.
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  5. #5
    Join Date
    Mar 2017
    Posts
    11

    Default

    Thanks you!

    Report designer log:
    2017-07-17 15:47:09,748 [5018294] WARN - org.pentaho.reporting.engine.classic.
    core.filter.types.ContentType - Failed to load content using value ResourceKey{s
    chema=org.pentaho.reporting.libraries.resourceloader.loader.URLResourceLoader, i
    dentifier=http://10.55.97.35:8080/pentaho/plugin/cgg/api/services/draw?script=/p
    ublic/Service/Fatturato/Report_sintetico_marca_report_sede_piechart.js&outputTyp
    e=png&user=<user>&password=<password>, factoryParameters={}, parent=null}
    org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException: Failed
    to open URL connection
    at org.pentaho.reporting.libraries.resourceloader.loader.URLResourceData
    .getResourceAsStream(URLResourceData.java:153)

    If I copy and paste to browser the generated link I have this server log:

    2017-07-17 15:49:47,635 ERROR [pt.webdetails.cgg.CggService] Error while rendering script
    pt.webdetails.cgg.ScriptExecuteException: java.lang.NullPointerException
    at pt.webdetails.cgg.scripts.SvgScript.execute(SvgScript.java:60)
    at pt.webdetails.cgg.AbstractCgg.draw(AbstractCgg.java:55)
    at pt.webdetails.cgg.CggService.draw(CggService.java:184)
    at pt.webdetails.cgg.CggService.draw(CggService.java:82)
    [........]

    this piece of code: "...Report_sintetico_marca_report_sede_piechart.js..." seems strange to me... I have no pie chart in dashboard.

    Alex
    Last edited by anietorp; 07-17-2017 at 09:56 AM.

  6. #6
    Join Date
    Nov 2011
    Posts
    1,224

    Default

    Yeah, have you generated the cgg export in CDE? Does the file /public/Service/Fatturato/Report_sintetico_marca_report_sede_piechart.js exist in PUC?
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  7. #7
    Join Date
    Mar 2017
    Posts
    11

    Default

    Ops... maybe my fault. The js script did not exists. After I saved dashboard js file appeared.

    Thank you!!!

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 - 2017 Pentaho Corporation. All Rights Reserved.