January 21, 20169 yr Hi please can someone help me solve my issue. in my solution i want to allow my user just to print one field which is a container field which has a pdf attached. how would i script this, however i do it i get the entire record how ever i only need the content of this field. please can someone help me out.
January 22, 20169 yr I don't think you could do this directly. First you would have to export the PDF, then print it. Something like this, export to desktop. #If there is a copy of a letter, open as PDF for viewing/re-printing/sending. If [not IsEmpty(Customer_contact::Letter)] Set Variable[$path; Value:Get ( TemporaryPath) & "Letter_" & Customers::Name_last & ".pdf"] Export Field Contents [Customer_contact::Letter; "$path.pdf";Automatically open] Else Show Custom Dialog [Title:"No Letter"; Message: "There is no letter to view"] End If
Create an account or sign in to comment