Pierhouse
November 4th, 2008, 07:38 AM
I have a job setup that use two InsertPicture rules to dynamically add required resources from the specified input text file.
The two rules are as follows:
InsertPictureBack:
return CreateResource(Field("Back") + ".pdf", "Graphic") ;
InsertPictureFront:
return CreateResource(Field("Front") + ".pdf", "Graphic") ;
The job runs beautifully and the finished imposed PDF is exactly what I am after however when composing a job I get the following errror in the msg log:
There is no graphic resource named "T_609664", as requested by data field "FRONT"
and
There is no graphic resource named "C_609664", as requested by data field "BACK"
I receive such errors for every record for the fields "Back" and "Front"
As I said earlier the job does work and all images are there so I don't understand why when using the InsertPicture rule the log records these such errors.
This creates a problem as I am unable to use Abort on Errors of this Type (under Advanced tab of Compose) Minor/Medium/Severe errors and stop the composition if it is unable to find a required image resource as it reads each of these above errors as a problem and stops the job.
Any thoughts would be appreciated
G :)
PS apologies for all these questions, I'm being put under alot of pressure to get this workflow up and running asap so I'm panicking a little. :confused:
The two rules are as follows:
InsertPictureBack:
return CreateResource(Field("Back") + ".pdf", "Graphic") ;
InsertPictureFront:
return CreateResource(Field("Front") + ".pdf", "Graphic") ;
The job runs beautifully and the finished imposed PDF is exactly what I am after however when composing a job I get the following errror in the msg log:
There is no graphic resource named "T_609664", as requested by data field "FRONT"
and
There is no graphic resource named "C_609664", as requested by data field "BACK"
I receive such errors for every record for the fields "Back" and "Front"
As I said earlier the job does work and all images are there so I don't understand why when using the InsertPicture rule the log records these such errors.
This creates a problem as I am unable to use Abort on Errors of this Type (under Advanced tab of Compose) Minor/Medium/Severe errors and stop the composition if it is unable to find a required image resource as it reads each of these above errors as a problem and stops the job.
Any thoughts would be appreciated
G :)
PS apologies for all these questions, I'm being put under alot of pressure to get this workflow up and running asap so I'm panicking a little. :confused: