Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Print just one field


This topic is 3219 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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

This topic is 3219 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.