How to modify the name of a document generated by a template ?
When you use a document template generation, you have to tell the document name but it's a fixed string which is used for all generated document (for example : Invoice).
But, as we want to put the generated document in Alfresco and send it by mail, we want to have a name based on an other attribute of the entity (for example : the invoice number) ; so the document name could be "Invoice 201411001" for example.
Ideally, we want to use an expression to do this.
Is't possible ?
If not, what are the other solutions to have document based on the same template with different names ?
Thank you for your advices.