I have a storage bank of pdf files. I would like to choose a specific file and attach the file to an email list of found records....
---same file goes to the entire list
Is there a best practice that someone could recommend?
and attach the file to an email list of found records....
Do you mean that you are going to use Send Mail to send out email with the PDF from the container attached to it?
Use Export Field Contents to export the file to the temporary folder using a $path variable to specify the location and file name.
Use the same $Path variable to specify the file as the attachment.
Set Variable [$path ; Get ( temporaryPath ) & "fileNameGoesHere.PDF" ]
In both Export Field Contents and Send Mail, you'll find the same dialog for specifying the file. you simply type in the name of your variable without quotes to make the specification needed here in both cases.
Note that getContainerAttribute can extract the file name from your container.
Got it----works perfectly----one more question
Do you recommend a way to grab a specific file from a specific record? ---
I hope I am making sense....thanks
container record 1
container record 2
container record 3
container record 4
That would depend on what data is available for the user to use to tell one file from another.
Retrieving data ...