Re: IsAssetExist Twice not working??

13 views
Skip to first unread message
Message has been deleted
Message has been deleted

couch

unread,
Mar 16, 2026, 5:45:32 PM (2 days ago) Mar 16
to XMPie Interest Group
Umm, maybe you copy/pasted and didn't edit?
both if statements are the same.
IsAssetExist(|->[Cust_No] & "-20260311_110710.jpeg", 8)
If the first one fails, the second will too because the appended text is identical.

On Tuesday, 17 March 2026 at 08:39:37 UTC+11 Amanda Duncan wrote:
Running into an issue using the IsAssetExist qlingo. I want to use it twice and it seems to be ignoring the second one. 

I have a job where I need to place an image based off the customer number and then one of two endings. The first one works great but it completely ignore the second. All images are placed in the same area and do exist but for all images ending with the "-20260311_110710.jpeg" are using the default image. Any ideas are welcome!

if(IsAssetExist(|->[Cust_No] & "-20260311_110710.jpeg", 8))
{
|->[Cust_No] & "-20260311_110710.jpeg"
}
else if(IsAssetExist(|->[Cust_No] & "-20260311_110710.jpeg", 8))
{
|->[Cust_No] & "-20260311_103856.jpeg"
}
else
{
"shutterstock_2505065493_SM.jpg"
}
Reply all
Reply to author
Forward
Message has been deleted
0 new messages