APM Question Blank Title 129546

Here are the code samples I got from my installer. he showed me that it was much easier to edit in wordpad and then paste rather than trying to edit in APM.

 

check send as html and it looks fine. it will print the placeholder if you don’t have a value for it, so you may have to set a value for a whole paragraph in a script.

 

HTH

 

Greg

 

 

 

 

Body:

 

 

Please Confirm receipt and acceptance of Purchase Order {PO #} attached

 

 

You may have this PO entered as our reference number {OSAS PO}

 

 

Thank you.

{Buyer}

{Buyer Email}

 

 

PO Date {Order Date}

 

 

SCRIPT TO VALIDATE EMAIL ADDRESS:

If InStr(PropertyValue, "@") <> 0 Then

TextOut = PropertyValue

end if

 

SCRIPT TO VALIDATE FIELD W/LABEL to LEFT:

If InStr(PropertyValue, "Fax:") <> 0 Then

TextOut = right(PropertyValue, len(PropertyValue) -5)

end if

 

SCRIPT TO VALIDATE FIELD W/LABEL ABOVE:

dim line

if instr(PropertyValue, "Vendor:") then

  if instr(PropertyValue,chr(10)) then

   line = split(PropertyValue, chr(10))

  TextOut = trim(replace(line(UBound(line)),chr(13),""))

End if

End if

 

 

 

SCRIPT TO VALIDATE FIELD W/LABEL to LEFT and email address:

If InStr(PropertyValue, "Email:") <> 0 Then

PropertyValue = right(PropertyValue, len(PropertyValue) -5)

end if

If InStr(PropertyValue, "@") <> 0 Then

TextOut = PropertyValue

end if

 

 

REMOVE AMPERSAND &

 

PropertyValue = replace(PropertyValue, "&","AND")

 

 

 

 

 

dim line

dim line1

if instr(PropertyValue, "Vendor:") then

  if instr(PropertyValue,chr(10)) then

   line = split(PropertyValue, chr(10))

   line1 = trim(replace(line(UBound(line)),chr(13),""))

 

TextOut = replace(line1, "&","AND")  

 

 

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of cathy@...
Sent: Friday, April 11, 2014 7:21 PM
To: vantage@yahoogroups.com
Subject: [Vantage] APM Question

 

 

What type of control do you have to manage the body of the email?  in Advanced Print Management.

I heard it is cryptic.



CONFIDENTIALITY NOTICE

The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.

"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."
What type of control do you have to manage the body of the email?  in Advanced Print Management.

I heard it is cryptic.