Hello,
I'm interested in customizing the email order acknowledgements/confirmations, but I can't find a single lick of documentation on the subject beyond what's in the T_FORMAT_INFO table documentation.
I've got a couple of different languages under my belt, but have never written anything for ASP. Just an explanation of what language we're writing in, what context the file is being processed in (what resources to we have to work with, etc), and how to streamline the development process (I'm sure triggering repeated emails from the client is not the best way to go) would be extremely helpful.
(Maybe this would be something good to add to the developer wiki?)
Hi Nick,
The SOAP API documentation - http://www.tessituranetwork.com/~/media/Documentation/Web%20API/API_Documentation_V12.ashx - addresses this in Appendix D. Essentially, the templates are ASPX pages with XSL style sheets. I built one using one of the samples as a starting point. You can also embed API calls to grab data that isn't already available. For example, I added a call to grab specifics of the payment methods used so we could include that in the order confirmation.
It likely won't answer all of your questions, but that appendix is a good place to start. I hope that helps!
Thanks,David
Thanks everyone! Whatever I was searching for didn't turn up that document, but it looks like that'll help for sure.
Just one little follow-up:
It looks like if the template file defines a subject line for the email, it will only be applied if there is no ORDER_EMAIL_SUBJECT_LINE in T_DEFAULTS. Is it safe to just remove that defaults entry so it doesn't override the template subject? (I'm trying to make the application behavior the same as TNEW's, and that Defaults entry only exists for Impresario, not Tessitura Web.)
Aha! Figured out the subject line thing. TNEW must be calling the send confirm email API method without specifying the subject argument, whereas the client application DOES specify the subject argument of that method.
Also discovered that simply leaving that T_DEFAULTS setting blank has the same effect as removing it entirely -- the API will not overwrite the subject defined in the template file.