> I would like to use filter and save the output in a template variable
> for later use. I can't seem to make it work however:
> 
> [% dn = defaultName FILTER replace('_',' ') %]

This should work fine.

> throws an error:
> unexpected token (replace)
>  -- FILTER dn = defaultName replace('_',' ')

The error message says it was failing on this input

    FILTER dn = defaultName replace('_',' ')

which is invalid syntax.

If you still have a problem please email a self-contained example.

Craig


Reply via email to