Hi!

I am building indexes and would like one the child nodes be presented as 
the actual 'document type' container.

The example in the docs make use of 'has_metadata_of', but I would want to 
use something to the effect of 'is_of_doctype'.

*For example:*
I have a metadata value EmployeeNumber, along with 3 document types, 
IDDocument, Transaction, PerviousPayment. So the nodes would look something 
like this;


{{ document.metadata_value_of.EmployeeNumber }}
    {{ document.*is_of_doctype*.IDDocument }}
    {{ document.*is_of_doctype*.Transaction }}
    {{ document.*is_of_doctype*.PreviousPayments }}

The rendered index would look something like this:


Employee Number Index
     #4837738
         ID Document (actual container)
               Document1
          Transaction (actual container)
               Doc2
               Doc3
               Doc4
          Previous Payment (actual container)
               Doc5
               Doc6

Any advice on how to achieve this would be great.

One workaround would be to add the doctype to the document as metadata when 
the document is created, but surely there must be a more elegant solution.

Thanks all!

-- 

--- 
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