Avatar

Correct answer by
Level 10

Just change the cSubmitAs parameter to PDF instead of XML

To get the company name into the subject you can do that when you set the variable. Assuming that the company name is in a field called companyName:

vSubject =

"A9100 - Example of Email Button Script and the company Name added: " + CompanyName.rawValue

The part in quotes will come out as you have typed them and the value of the field companyName will be appended to the end of the string.

Paul

View solution in original post