0 Replies Latest reply: Jan 30, 2017 7:01 PM by Patrick Ryan RSS

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

    Patrick Ryan

      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