Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® VDP Creator

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 7th, 2019, 09:20 AM
Damien Damien is offline
Junior Community Member
 
Join Date: Oct 2013
Posts: 10
Default Working with themplates

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
Damien
Attached Files
File Type: zip weekly test.zip (3.36 MB, 6 views)
Reply With Quote
  #2  
Old January 8th, 2019, 01:26 PM
ScottHillock ScottHillock is offline
Regular Contributor
 
Join Date: Mar 2010
Posts: 91
Default Re: Working with themplates

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

Code:
FusionPro.Composition.SetBodyPageUsage(Field("TEMPLATENAME"), true);
Create a new template page with the Addressing information, and return it with a text rule
Code:
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.
Attached Files
File Type: zip Postcard PreSort Mktg test.pdf.zip (25.5 KB, 8 views)
Reply With Quote
  #3  
Old January 8th, 2019, 03:20 PM
Damien Damien is offline
Junior Community Member
 
Join Date: Oct 2013
Posts: 10
Default Re: Working with themplates

Thank You

I briefly looked it over and added one other version and I think I can get it work.

Damien
Reply With Quote
  #4  
Old January 9th, 2019, 12:49 PM
Damien Damien is offline
Junior Community Member
 
Join Date: Oct 2013
Posts: 10
Default Re: Working with themplates

Scott

Thank you for the help. I was able to recreate the postcard with all the other version.

Damien
Reply With Quote
Reply

Tags
rules, template design

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:48 PM.


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