mteed11 Posted April 14, 2016 Share Posted April 14, 2016 Customer is uploading a mailing list into a variable template. In some cases their data does not include an actual address. I would like to modify the template so it will ignore those records so it not only calculates the units and costs correctly on the storefront, but also ignores those records when sending us the print file. Is this possible? Thanks in advance, Mike Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted April 15, 2016 Share Posted April 15, 2016 I would like to modify the template so it will ignore those records so it not only calculates the units and costs correctly on the storefront, That I don't know. You should ask about that on the MarcomCentral app forum. but also ignores those records when sending us the print file. Is this possible? Sure, just do this in the OnRecordStart rule: if (!Field("Address")) FusionPro.Composition.composeThisRecord = false; Or: FusionPro.Composition.composeThisRecord = !!Field("Address"); Quote Link to comment Share on other sites More sharing options...
mteed11 Posted April 15, 2016 Author Share Posted April 15, 2016 Thanks Dan. I will give that a shot. Thanks again! Quote Link to comment Share on other sites More sharing options...
step Posted April 15, 2016 Share Posted April 15, 2016 I'm having deja vu Quote Link to comment Share on other sites More sharing options...
mteed11 Posted April 15, 2016 Author Share Posted April 15, 2016 Hi Dan. This seemed to work when the final output was a PDF, but it doesn't seem to work if it's mapped data. Is that correct? Thanks again, Mike Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted April 15, 2016 Share Posted April 15, 2016 I'm having deja vu Ah, yes. Mike, please don't duplicate threads with the same question. Thanks! Hi Dan. This seemed to work when the final output was a PDF, but it doesn't seem to work if it's mapped data. Is that correct? Sorry, I don't understand the question. What do you mean by "mapped data?" Do you mean a different output format? If so, please specify the output format as shown in the Composition Settings dialog. Quote Link to comment Share on other sites More sharing options...
mteed11 Posted April 15, 2016 Author Share Posted April 15, 2016 Sorry Dan. Still trying to figure this all out. This is actually a setting in Marcom. You can choose a PDF final format or a Mapped Data format which is basically a text file. Your solution seems to work using the PDF, but not the text. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted April 15, 2016 Share Posted April 15, 2016 Sorry Dan. Still trying to figure this all out. This is actually a setting in Marcom. You can choose a PDF final format or a Mapped Data format which is basically a text file. Your solution seems to work using the PDF, but not the text. Sorry, I don't know anything about that MarcomCentral app feature. I suspect it's probably not using FusionPro at all, and therefore not running any FusionPro rules. Again, please ask questions specified to the MarcomCentral application on the MarcomCentral app forum. Quote Link to comment Share on other sites More sharing options...
mteed11 Posted April 15, 2016 Author Share Posted April 15, 2016 Thanks Dan. The FusionPro template is assigned to a product in Marcom so the rule you gave me certainly is applied. You got me half way there. I will see what I can figure out from here. Thanks again for all the help. Have a great weekend! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.