> <dtml-call expr="file_id.manage_addProperty('propertyxy', file_xy, 'string')">
> <!-- doesn´t work becaus there is no file 'file_id'.
> I tried different things like getattr(_, file_id) etc. but all this things didn't work. -->
> </dtml-let>
I think you want something like:
<dtml-call expr="_.getattr(this(), file_id).manage_addProperty('propertyxy', file_xy, 'string')">
Florent Guillaume
Nuxeo