5 Replies Latest reply: Apr 3, 2012 10:15 AM by Patrick Vinton RSS

    Specify a default expression for a Measurement in the definition.xml for an extension?

    Patrick Vinton

      Is there a way to specify a default expression for a Measurement in the definition.xml for an extension?  I'm looking for somthing similar to the Expression attribute that is available for Text objects:

      <Text Label="Show Detail?" Type="checkbox" Initial ="" Expression="1" />

      <Measurement Label="My Measurement" Initial="" Expression=" ='Default Expression goes here.' "  />

       

      I've tried to "push" a value into the expression via script.js and properties.qvpp, but can't get those methods to work either.  If somebody can help figure out this methodology instead, that would definitely be an acceptable solution too.

       

      Thanks for the help!