Hi,
I've read a few posts about building different email bodies including form data and that has given me a good idea of what needs to be done. What we are trying to do is probably a bit more simple and I would just like to determine the best approach.
For each form we would like to have a custom email body, it doesn't need to contain any form data, just be different for each form.
I see two potential ways to approach this since it can't be put into the properties-local.xml like other email options, i.e. subject or sender.
1. We could amend the 'email-form.xpl' and the 'resources.xml' to determine via a variable the form name and then use a specific email-body from 'resources.xml' based on the form name.
2. We could direct the forms to use specific versions of 'email-form.xpl' and 'resources.xml', something like 'email-formA.xpl' and 'resourcesA.xml' which would essentially be replicas of the originals just with the changes we need.
I was hoping to find this information -
http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources but the link is now broken so I suspect the method may have changed?
Any pointers as to which method would be best would be great.
Thanks
Eusebio