Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: How to get values of session variables into JS code?

  1. #1
    Join Date
    Apr 2007
    Posts
    2,010

    Default How to get values of session variables into JS code?

    Hi,

    Been trying to do this on and off a few times recently, in various different cases. I.e. a classic one, i want to default a parameter to a value from a session variable.

    I can see you can use them happily in CDA, but how do you get a server session variable to the client side if you want to?

    Thanks,
    Dan

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

    Default

    cdf auto-includes.
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  3. #3
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    yeah can't find any doco on those or how to use them??

    I found a workaround for anyone else with this issue. Do it as a CDA query, define a selector with no html element which never appears and uses that data set. Then it will set its param to the first value. Set the priority accordingly so it fires first.

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

    Default

    in PUC:

    Plugin Samples / CDF / Documentation / Advanced / Autoincludes
    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.