ParamView.getMetadataValue

Syntax

getMetadataValue ();

Description

The getMetadataValue method returns metadata of report parameter control.

Comments

This method returns a JSON object with the following fields:

Example

To execute the example, the page must contain report parameter control named param (see example in the page of the ParamView.LinkedDimOpened event). Add a button clicking which gets moniker of report parameter control:

var but = new PP.Ui.Button({

   Content: "Metadata",

   ParentNode: document.body,

   Click: function () {

      console.log(param.getMetadataValue().value)

   }

});

After executing the example the Metadata button is added to the page. Clicking this button shows moniker of report parameter control to the browser console.

See also:

ParamView