Using AnyGetter not getting Attribute

#1

I have an object like so:

image

“patterns” is an advanced many-to-many.

The patterns class object has PatternNumber as an attribute (I know, no camelCase, I didn’t do it ;). I can’t extract out the PatternNumber. It always returns the path:

image

I’ve tried multiple combinations and I either get nothing or the path…

0 Likes

#2

Possible, but it needs some work as
a) we are talking about a many-to-many relation
b) it is even advanced (so there is the container containing metadata + referenced element)

Approach:

  1. anygetter: forward attribute “many” will change the context to the destination objects
  2. iterator: will iterate over them (because many-to-many)
  3. anygetter: get the referenced element out of ElementMetadata
  4. anygetter: get the firstname
0 Likes

#3

Thanks for the reply. At number 1., are you saying the Forward Attribute is literally “many” (minus the double-quotes)? And 3., I’m not quite sure what you mean by “ElementMetadata”?

0 Likes