hi Hans,

i'm using 2.7.3

here's my setup.

i have a metadata rootDocument and documentnum

all documents have a documentnum meta.
supporting documents will have both documentnum and rootDocument meta.
rootDocument is the main document's documentnum meta.

under smart links conditions i have this.
and foreign metadata__value is equal to (case insensitive) {{ document.
metadata_value_of.rootDocument}} 
or foreign metadata__value is equal to (case insensitive) {{ document.
metadata_value_of.documentnum}}

note the meta values are stored as strings. 

the first line for when i'm looking at a supporting document and i want to 
see the main document.
second line is  for when i'm looking at the main document and i want to see 
the supporting documents.

i think you may be missing the 'document' part of the {{ document.
metadata_value_of.rootDocument}}. 
the documentation shows {{ metadata_value_of.rootDocument}} 

hope this helps

Phiroz

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to