Jump to content

Search the Community

Showing results for tags 'repeatable component'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Start Here!
    • News
  • Software-Related Talk
    • Documentation
    • Getting Started
    • The JavaScript Library
    • FusionPro® VDP Creator
    • FusionPro® VDP Producer
    • FusionPro® VDP Server (API)
    • FusionPro® Expression®
    • MarcomCentral®
  • Support
    • Issues, Questions, Etc.
    • Digital Workflow Documents
    • Fonts
  • Off Topic
    • Customer Polls
    • Job Board (Moderated)
    • Reviews, Rants, and General Musings

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


FusionPro VDP software version


OS


Acrobat Version


Homepage


ICQ


AIM


Yahoo


MSN


Skype


User Title

Found 2 results

  1. I need a sheet of coupons that cycle through the list of coupons in a data file. These coupons are 5 up and 3 across. They will need to continue if the group of coupons goes beyond 15 and continue until the data file runs out of records. I am using Repeatable Components instead of Imposition because the Data Sheet name needs to be at the bottom of each coupon group and later chunked out by Data Sheet name. I know how to code through items if using a key and external file but these don't really have any key items to go off of and some items may repeat themselves if there are multiple copies listed in the Data File. I need help getting this file to display one copy of each record. Right now it displays a copy for the first record multiple times based on the "i <= #" part. The records really should loop until the end without me having to list a number. Attached are sample files. We usually use .csv files but I had to upload the file as a .txt so you will need to relink the data file. I'm only asking for guidance not a complete solution. I will continue to try to work through this on my own. Shelf_Tags.pdf BabyFood.txt
  2. I have a job that is calling in several different images that are being identified in the data. The problem is that some of those images need to have variable data printed on them in a specific place that is also coming in from the same data file. And there is no indication when a static image and a variable image will be pulled in (the job has almost 20000 records). Is there a way to make the variable images into stand-alone objects, each populated by the necessary data, which are then called in variably by a graphic switch into the main body of the letter as needed? This is what I have so far... (Graphic Rule) switch (Field("IMAGE1").toLowerCase()) { case "100C".toLowerCase(): return Resource("100C.pdf"); case "155C".toLowerCase(): return Resource("154C.pdf"); case "LN02".toLowerCase(): return Rule("LN02_Chart1"); case "CD01".toLowerCase(): return Rule("INCDBS_Chart1"); default: return NullResource() } LN02_Chart1 (Text Rule) var returnString = ""; var catalogItem = new FPRepeatableComponent("LN02_table"); catalogItem.AddTextVar("OldNum", Field("OLDACCT1")); catalogItem.AddTextVar("NewNum", Field("NEWACCT1")); returnString += catalogItem; var catalogItem = new FPRepeatableComponent("LN02_table"); catalogItem.AddTextVar("OldNum", Field("OLDACCT1")); catalogItem.AddTextVar("NewNum", Field("NEWACCT1")); returnString += catalogItem; return returnString; LN02_table is a template page set up with those variables defined. I'm wanting to make sure my logic is sound. I know that I can only return graphic resources with graphic rules, which will be the next issue to tackle (any ideas on that one?), but for now I just want to make sure I'm on the right path with how I'm going about this. The first rule is being returned (through another text rule) inside of a text frame.
×
×
  • Create New...