cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

allow ALIAS attribute to show attribute value from latest iteration of part and documents

allow ALIAS attribute to show attribute value from latest iteration of part and documents

The current behavior when we have an ALIAS attribute point to a part/document IBA attribute, it would show multiple values from all the iterations of the object.

It would be beneficial to have syntax to show the value from the latest iteration.

1 Comment
Regular Member

In general it should be possible to restrict alias navigation by constants / literals. Notation for conditions could e.g. be in square brackets (similar to XPath).

 

Examples for proposed solution:

  • Navigate only to WTParts where latestIteration=1
    describedBy@wt.part.WTPartDescribeLink~describes^wt.part.WTPart[latestIteration='1']~name
  • Navigate only to WTParts where lifeCycleState=INWORK
    describedBy@wt.part.WTPartDescribeLink~describes^wt.part.WTPart[lifeCycleState='INWORK']~name
  • Navigate only to WTParts where latestIteration=1 AND lifeCycleState=INWORK
    describedBy@wt.part.WTPartDescribeLink~describes^wt.part.WTPart[latestIteration='1' and lifeCycleState='INWORK']~name