Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: Dan Korn
Forum: Graphic Rules November 19th, 2019, 12:29 PM
Replies: 5
Views: 9,761
Posted By Dan Korn
Re: Insert default picture ONLY if picture name is not found

300? Wow! Your original post just mentioned "several" frames.

There's almost surely a way to refactor the job so that you don't have 300 rules, which would make it both even faster to compose...
Forum: Graphic Rules November 11th, 2019, 12:41 PM
Replies: 5
Views: 9,761
Posted By Dan Korn
Re: Insert default picture ONLY if picture name is not found

Sorry, I didn't realize you were using that as a starting point. That XML rule is a bit of a mess when converted to JavaScript.

I think this will work for you:
if (!Field("JA08"))
return...
Forum: Graphic Rules November 8th, 2019, 09:59 AM
Replies: 5
Views: 9,761
Posted By Dan Korn
Re: Insert default picture ONLY if picture name is not found

if (!Field("Picture"))
return NullResource();

var pic = CreateResource(Field("Picture"), "graphic", true);
if (pic.exists)
return pic;

return Resource("NotFoundResource");
Though,...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -7. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.