Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
patrickmryan11
Contributor
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

0 Replies