Page 1 of 1

AC_IL_PDF has invalid value

Posted: Tue Mar 20, 2012 10:27 am
by tkittel
Hello all,



I'm trying to use the 'import as layers' command with help of the 'pdfToolbox5 actions' configurator of powerswitch 10. Therefore I need to define the 'import pdf' dynamically. The pdf file, which should be imported as layer on top of the actual pdf is placed in an specific folder. The 'import pdf' ist defined with an absolute path to this folder, followed by 'jobname proper' and the suffix '.pdf'.



Anytime I try to add the pdf as layer, an error shows:

'AC_IL_PDF' has an invalid value, followed by the correct path and name of the pdf file (which should be placed as layer).



Why doesn't it work?



Thanks in advance,

Thomas

AC_IL_PDF has invalid value

Posted: Tue Mar 20, 2012 12:24 pm
by rzacherl
Hi Thomas,



are you sure that you're using the property editor type "Single line text with variables" and an expression which looks like that:



/rootpath/subpath/[Job.NameProper].pdf



Robert

AC_IL_PDF has invalid value

Posted: Wed Mar 21, 2012 8:07 am
by tkittel
Hi Robert,



checking again and choosing directly a pdf file (which should be imported as layer) and compare absolute path with the dynamically created one, now I think I've found my mistake:

Yesterday, while testing the flow:

1. I did use 'Job.Name' instead of 'Job.NameProper'

2. I played with the 'strip unique name' option of the folder, where the pdf file (which should be imported as layer) was placed. When this option was set to 'off', the unique ID has to be included into the filename. If it is set to 'on', the id has to be removed.



Thanks for your help,

Thomas