Hi,
the way shown in the screen shot should work.
If you want to have the mayan Full User names in the lookup list just add
{{ users }} to your lookup definition e.g.:
Internet,Phone,{{ users }},...
Same for {{Groups}}
br
Matthias
Am Dienstag, 2. Januar 2018 21:03:55 UTC+1 schrieb Lin Pro:
>
> Hi
> Please find attached a screenshot with an attempt to do a lookup table for
> metadata in Mayan EDMS.
> The goal is to have a pull down menu of metadata values. The way it has
> been achieved in the screenshot is that the values are entered with commas
> separating them.
> Is this the only way to do that?
>
> The instruction for the box says:
> "Enter a template to render.
> Must result in a comma delimited string.
> Use Django's default templating language (
> https://docs.djangoproject.com/en/1.7/ref/templates/builtins/).
> Available template context variables: {{ groups }} = "All the groups." {{
> users }} = "All the users."
>
> Please give an example of how to implement that?
> The instruction sounds like out of context to me. What groups? what users?
> I need metadata values here ...
>
>
> regards
> Lin
>
--
---
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.