Quote:
Originally Posted by thiago.eec
P.S: I did this using Python Mode. I could not find a way to interpret the authors field as list in the regular Template Mode. What am I missing?
|
Use a for loop, as in
Code:
program:
res = 'Authors:';
for aut in "authors":
res = res & '<br>' & aut
rof;
res
If a for loop is given the lookup name of a column it uses the separator for that column. If you have the list in a variable then the following works:
Code:
program:
res = 'Authors:';
for aut in $authors separator '&':
res = res & '<br>' & aut
rof;
res