Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Problem with ExportButtonComponent?

  1. #1
    Join Date
    Jul 2009
    Posts
    20

    Default Problem with ExportButtonComponent?

    After I upgraded to Pentaho CE 4.8 and ctools 1.4, export buttons stopped working in all my dashboards.

    I'm getting the following js error:

    ReferenceError: component is not defined
    on line 25 of CDF.js

    I'll temporary fix my dashboard converting them to regular buttons following what's proposed here http://forums.pentaho.com/showthread...on-work-in-CDE but I think this is a bug. Anyone has had this problem?

  2. #2
    Join Date
    Feb 2013
    Posts
    9

    Default

    Same thing here too.
    I'll try the alternative but I'm wondering if we miss any additional functionality of the original export button.

  3. #3
    Join Date
    Jul 2012
    Posts
    1

    Default

    In pentaho-solutions/system/pentaho-cdf-dd/resources/custom/components/exportButton/exportButton.js change:
    component.query.exportData(myself.outputType, overrideParameters);
    to
    comp.query.exportData(myself.outputType, overrideParameters);
    As you can see, variable component is not defined in this js

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

    Default

    Hey, there. What's ctools 1.4?

    Where did you get that?

    That seems like a really old cde version.
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

Tags for this Thread

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.