Skip to main content
5-Regular Member
December 15, 2014
Question

How can I make to ALIAS attribute show correct data when mapping documetn has iterations

  • December 15, 2014
  • 1 reply
  • 1348 views

I have created an ALIAS attribute and it display the data duplicate so many times as iteracions I have about the document mapped.


When you use the following syntax, the following results are the expected ones :

Syntax: name=name@wt.doc.WTDocument~[IBAttribute]

Result: comma separated list of IBA values of all the iterations of the WTDocument

Here is a result of my test if I have 2 iterations:

Alias: test OTM, test OTM


I have tried also the following but it did not get the wanted value :

name=name@wt.doc.WTDocument~masterReference^wt.doc.WTDocumentMaster~[IBAttribute]

1 reply

OliverDroop
15-Moonstone
December 16, 2014

The alias attribute is not able to display only latest values from referenced objects today. There should be already an enhancement request open for this. Until then you could change your data model that you reference only attributes from the document master. If you need both then you would need to copy the latest value from the iteration of document to the master.

Alternate solution is a SCA - server calculated attribute can use your own classes and this could filter the values