Before I go researching too far, maybe someone can answer if this is possible.
My client wants to know if Alpha is able to create an email template then go and find and attach multiple non-Alpha files based on a currently viewd record fields value.
I'm only just starting to read how to create the email template, but I haven't found anything on how to choose a directory and grab the attachements based on a field value.
Example.
Field1 - Site_ID = "TORON000"
Field2 - Address = "123 Queen St"
Field3 - Date1 = "Jan 25, 2010"
Field4 - Name = "Mr. Smith"
Field5 - email = [email protected]
Create a button so that - 'on push' a template email is generated to the name specified in Field5 and do the following
To: "[email protected]"
Hello "Mr Smith"
In regards to Site "TORON000" we have reviewed the location and found "123 Queen St" to be satisfactory for the installation on "Jan 25, 2010" and are including these documents containing photos and specifications
Automatically look for a directory named same as the field and pull the files within them
("S:\"+alltrim(Site_Id.value)\"+alltrim(Site_Id.value)+".PDF")
("S:\"+alltrim(Site_Id.value)\"+alltrim(Site_ID.value)+".JPG")
= S:\TORON000\TORON000.PDF
= S:\TORON000\TORON000.JPG
I learned and used the last two command lines from Stan to open files for viewing, can they also be used for attaching documents
My client wants to know if Alpha is able to create an email template then go and find and attach multiple non-Alpha files based on a currently viewd record fields value.
I'm only just starting to read how to create the email template, but I haven't found anything on how to choose a directory and grab the attachements based on a field value.
Example.
Field1 - Site_ID = "TORON000"
Field2 - Address = "123 Queen St"
Field3 - Date1 = "Jan 25, 2010"
Field4 - Name = "Mr. Smith"
Field5 - email = [email protected]
Create a button so that - 'on push' a template email is generated to the name specified in Field5 and do the following
To: "[email protected]"
Hello "Mr Smith"
In regards to Site "TORON000" we have reviewed the location and found "123 Queen St" to be satisfactory for the installation on "Jan 25, 2010" and are including these documents containing photos and specifications
Automatically look for a directory named same as the field and pull the files within them
("S:\"+alltrim(Site_Id.value)\"+alltrim(Site_Id.value)+".PDF")
("S:\"+alltrim(Site_Id.value)\"+alltrim(Site_ID.value)+".JPG")
= S:\TORON000\TORON000.PDF
= S:\TORON000\TORON000.JPG
I learned and used the last two command lines from Stan to open files for viewing, can they also be used for attaching documents
Comment