XMPie Ucreate Qlingo Help

jpr_XMPie

New member
I am trying to use qlingo code for pulling an image from the asset folder, where the data field [customer number] is named the same as the .jpg file in the asset folder. This works fine, but the problem I have is that there is not a .jpg file for every customer number, and in that scenario, I need to pull in a blank .jpg. I created the blank asset, but need to know how to call it in when the folder does not contain customer number named asset. Clear as Mud :rolleyes:
Looking for coder advice, thanks
 
Hi Ray,

Thanks, I have part of it, but could use help with the 2nd part of the code. This is what i have:

(IsFileExist("file:///Macintosh HD/Users/MacPro6/Desktop/Assets" & |->[Agent Number]) = True)

no errors on this. but then


after this string, I tried using an IF_else statement, to request the use of the True condition or use blank.jpg, but errored out on the "If".

can you give me the 2nd line of code?

(sidebar: I created and linked to an asset folder on my desktop)
 
Hi Ray,

Thanks, I have part of it, but could use help with the 2nd part of the code. This is what i have:

(IsFileExist("file:///Macintosh HD/Users/MacPro6/Desktop/Assets" & |->[Agent Number]) = True)

no errors on this. but then


after this string, I tried using an IF_else statement, to request the use of the True condition or use blank.jpg, but errored out on the "If".

can you give me the 2nd line of code?

(sidebar: I created and linked to an asset folder on my desktop)

It's not really a second line, it's all one thing with the If using the IsFileExist as the item that returns true or false.
Below is the framework for the code, I'm at home and don't have access to my reference manual. Do you have one?

If IsFileExist("file:///Macintosh HD/Users/MacPro6/Desktop/Assets" & |->[Agent Number]) Then
Code to use image here
else
Code to use blank here
 

PressWise

A 30-day Fix for Managed Chaos

As any print professional knows, printing can be managed chaos. Software that solves multiple problems and provides measurable and monetizable value has a direct impact on the bottom-line.

“We reduced order entry costs by about 40%.” Significant savings in a shop that turns about 500 jobs a month.


Learn how…….

   
Back
Top