Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Getting WCDF parameters

  1. #1
    Join Date
    Oct 2014

    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: public:quattroc:Reports:consume-energy.prpt/parameter

    Or, in alternatively: it is possible to pass initialization parameters during invocation e.g. public:quattroc: Dashboard: Dashboard1.wcdf/generatedContent?myDateParam="july"

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

    Thank you in advance

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

  2. #2
    Join Date
    Nov 2011


    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: 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

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.