Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to show UserInformation on Dashboards (Dashboards.context.user-->Query result )

  1. #1

    Default How to show UserInformation on Dashboards (Dashboards.context.user-->Query result )

    Hi All,

    I spent enough time before startwriteing my querstion.

    I made
    + a Dashboard (or edit my existing)
    + added a generic paramter USERNAME
    + added code to Scripting USERNAME=Dashboards.context.user
    + added a TextComponent (inside function() { return USERNAME; }
    + added a HTML <span>
    -----------------------------------
    My UserName appeared on the Screen. It's OK!

    after these I created
    + a Datasource JDBC JNDI : hibernate
    SQL: SELECT DESCRIPTION FROM `USER` WHERE USERNAME=${USERNAME}
    ==========================================================

    Where and how can I Display the UserFullName on the Dashboard ?
    How can I refresh/set up a Javascript var or Generic Parameter value by the result of the Query ?

    Please help me!

    Best regards,
    ltorok

  2. #2

    Default

    Sorry EveryOne,

    I could find the solution here: http://forums.pentaho.com/showthread...tle+from+query

    I seems I'm a real junior (here).

    By,
    ltorok

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.