Jump to content

inserting PDF into container throws "error: 20403"


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

Recommended Posts

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

Link to comment
Share on other sites

  • 6 months later...

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

Link to comment
Share on other sites

This topic is 3924 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.