Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Getting WCDF parameters

  1. #1
    Join Date
    Oct 2014
    Posts
    5

    Default Getting WCDF parameters

    Hi all!
    I've a relatively simple question: it is possible to ask the BA server the list of the parameters needed to render a WCDF dashboard trough API?

    I know that for the PRPT reports you have to do a request similar to the following:

    http://192.168.1.10:8080/pentaho/api/repos/: public:quattroc:Reports:consume-energy.prpt/parameter

    Or, in alternatively: it is possible to pass initialization parameters during invocation e.g.

    http://192.168.1.10:8080/pentaho/api/repos/: public:quattroc: Dashboard: Dashboard1.wcdf/generatedContent?myDateParam="july"

    so to have my fancy dashboard preselected with "july"?

    Thank you in advance

    Matteo
    Last edited by jangalian; 02-11-2015 at 07:34 AM.

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

    Default

    There's no built-in support for initialization parameters in CDE. You need to code it in your dashboard. We do have the notion of bookmarkable parameters (it's one of the options in the parameter properties). If the parameter is bookmarkable you can set its value in the query string using the # tag. Something like:


    http://192.168.1.10:8080/pentaho/api/repos/: public:quattroc: Dashboard: Dashboard1.wcdf/generatedContent#bookmarkable={myDateParam: 'july'}

    Not sure about the exact syntax after the hash, but search the ctools forums because I know there are similar threads there.
    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.