Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Highlighted
patrickmryan11
New Contributor

Widgets - How to reference qMeasure attributes for measures using qw-sys-info?

Hello,

This is the code for a Self-Documenting widget using qw-sys-info. 

(This builds on example provides in widget library):

<qw-sys-info content="dimensions,measures">

  <b>Dimensions:</b><br>

  <ul style="margin-left:20px;">

  <li ng-repeat="dimension in dimensions" ng-bind-template="{{dimension.qMeta.title}} : {{dimension.qMeta.description}} ">

  </li></ul>

  <b>Measures:</b><br>

  <ul style="margin-left:20px;">

  <li ng-repeat="measure in measures" ng-bind-template="Title:  {{measure.qMeta.title}}  Tags: {{measure.qMeta.tags}} Description:  {{measure.qMeta.description}} ID: {{measure.qInfo.qId}} PublishTime: {{measure.qMeta.publishTime}} Expression: {{measure.qMeasure.qDef}}">

  </li></ul>

</qw-sys-info>

I am able to view data for all Measure attributes except for those on "qMeasure".   Is there a specific way to reference the qMeasure.qDef attribute for display in widgets?

Thanks,

Pat