February 14, 201312 yr Hi, I am having issues importing a previously saved PDF in to a container field. It's throwing an "Unknown error: 20403" I have tried both: Insert PDF (with the appropriate imagemac: path prefix) and Insert File ( with filemac:) path prefix Script: $File = "filemac:/Macintosh HD/private/var/folders/tg/3bq5pqmn3mgdq7lbbw2p8l_r0000gn/T/S10.1/Myfile_02-14-2013_10:29:48_AM.pdf" // also tried desktop path files Go to Field [PDFContainer] Insert PDF[$File] or Insert File ["myTable::PDFContainer; $File"] The container field on the layout is set to allow interactive content I have tried defining the container as internal storage, and external store with the same results. I can manually import the PDF file with no issues. Surely this is a common thing, I have just never had this issue before. Any help would be greatly appreciated. Charles
August 19, 201312 yr hi charles, the filename (rep. the fielpath contains some colon where they don't belong >>> "10:29:48:AM.pdf". just strip them off (e.g. Substitute ( "Myfile_02-14-2013_10:29:48_AM.pdf"; ":"; "_" ) ) and all should be fine… hth pixi
Create an account or sign in to comment