Damien Posted January 7, 2019 Share Posted January 7, 2019 Sorry, I think I posted it in the wrong spot before so there may be a duplicate. I have postcards that require a picture and the agents name to go into certain areas. But the areas for each postcard is in a different spot. I believe I have a body setup correctly and a template page for each version of the postcard with the picture and name. My problem is that I am not understanding the rule that I need to make it work properly. I need to used the "TEMPLATENAME" in the csv file. Can somebody help me understand the rule that needs to be created. I have attached a test file with all the resources needed. I will end up adding another 10-12 more version of the postcard that have the information in different spots. Thanks Damienweekly test.zip Quote Link to comment Share on other sites More sharing options...
ScottHillock Posted January 8, 2019 Share Posted January 8, 2019 I think you're trying to use repeatable templates. Which might be beneficial in this project, but I would do them in reverse, with the address block being the repeatable template, and create a new page for each version of the postcard. Simply add pages and name them the version code, and set the page to unused. Create a OnRecordStart rule to activate the necessary page FusionPro.Composition.SetBodyPageUsage(Field("TEMPLATENAME"), true); Create a new template page with the Addressing information, and return it with a text rule return new FPRepeatableComponent('address'); See attached modified PDF. If you wanted to keep down on your way you could just modify the "addressBlockAndIndicia" rule to your liking to return the template page you need.Postcard PreSort Mktg test.pdf.zip Quote Link to comment Share on other sites More sharing options...
Damien Posted January 8, 2019 Author Share Posted January 8, 2019 Thank You I briefly looked it over and added one other version and I think I can get it work. Damien Quote Link to comment Share on other sites More sharing options...
Damien Posted January 9, 2019 Author Share Posted January 9, 2019 Scott Thank you for the help. I was able to recreate the postcard with all the other version. Damien 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.