Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: DOCUMENTMETADATA function

  1. #1
    Join Date
    Jan 2006
    Posts
    313

    Default DOCUMENTMETADATA function

    PRD-2208 states :
    Hidden parameters are parameters that have the "ParameterAttributeNames.Core.NAMESPACE, ParameterAttributeNames.Core.HIDDEN" attribute set to true.

    Does this mean that the function DOCUMENTMETADATA can return the value of the checkbox Hidden of the parameters?

    I tried the following openformulla :
    Code:
    =DOCUMENTMETADATA("ParameterAttributeNames.Core.HIDDEN";param7)
    But this does not seem to do what i intended. Is there some documentation that you can point me to?

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    No. Parameter-Definitions have their properties defined as <namespace, name> attributes.
    The hidden-attribute there really only controls the way the UI is generated and these properties are not exposed to the inner workings of the report.

    The DocumentMetaData function is used to query the document metadata, like Author, Title or Modification-Date. It is not related in any way to parameter attributes.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3
    Join Date
    Jan 2006
    Posts
    313

    Default .

    I just want to know if the parameter is visible in the UI, so i know if i have to display particular values in the report header.
    If i understand it right, currently there is no function that does this.
    Right?

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.