Stored in File System - EMAIL with PDFs & path attribute????
Re: Stored in File System - EMAIL with PDFs & path attribute
You may have to use EXPORT to filename ... and then IMPORT to control the filename and then delete the File after the process has run
Re: Stored in File System - EMAIL with PDFs & path attribute
Thats the way I had it in my initial post.
But I could not get that to NOT store the binary in the BO.
But I could not get that to NOT store the binary in the BO.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Stored in File System - EMAIL with PDFs & path attribute
So whats wrong with that ? why don't you want to store the document on the Invoice object like I suggested in the first place
Prepare the Document and store it on the Invoice Object and then Create the email with Attacment1 =Invoice.Document
Then go back and delete the Exported file.... and the FS image if you must
Prepare the Document and store it on the Invoice Object and then Create the email with Attacment1 =Invoice.Document
Then go back and delete the Exported file.... and the FS image if you must
Re: Stored in File System - EMAIL with PDFs & path attribute
I don't want or need to delete the FS image.
I DON'T want the PDF stored in the blob datatype in the MySQL database - I think i've said that at least 3 times in this post.
why don't you want to store the PDFs (20 MB in size minimum) in the Email object?
Answer:
because thats why there is a Store on FS option, and I want to use that... but the filenames are wonky then.
I do a EXPORT DOCUMENT to a filename, and thats the same one I'd link to (via the Path attribute) and save forever on the FS
I DON'T want the PDF stored in the blob datatype in the MySQL database - I think i've said that at least 3 times in this post.
Is that the same as:You wrote:
why don't you want to store the document on the Invoice object like I suggested in the first place
why don't you want to store the PDFs (20 MB in size minimum) in the Email object?
Answer:
because thats why there is a Store on FS option, and I want to use that... but the filenames are wonky then.
These are the same, right?you wrote:
Then go back and delete the Exported file.... and the FS image if you must
I do a EXPORT DOCUMENT to a filename, and thats the same one I'd link to (via the Path attribute) and save forever on the FS
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Stored in File System - EMAIL with PDFs & path attribute
Huh - Who said its In Mysql - all references I have made are to a Document attribute with FS setI DON'T want the PDF stored in the blob datatype in the MySQL database - I think i've said that at least 3 times in this post.
After further thought, you should be able to do this:
EXPORT the document to the same path as the Attachment1 path is set. This way you can name the file ( you don't have to do the IMPORT as its already referenced in the OutgoingEmail.Attachment1 path setting )
So when you send the email Attchment1 is already in place