Jump to content

Jason643

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Jason643

  1. I am trying to automate gathering my resources. I can get it to work through a rule without adding the files in as resources if I use something like this:

    return CreateResource("File Path\\" + Field("PHOTO") + ".pdf");

    This will show the resource in the preview, and it will compose just fine. This is how I want to do it, getting the file path from my data file: (slicing out the name of the date file)

    return CreateResource(PrimaryInputFile().slice(0,81) + "\\" + Field("PHOTO") + ".pdf");

    I can run both in a text rule (without the "CreateResource" function and they both return the exact same string. Validating the rule shows that that the graphic exists, and it will show the image in the preview, but when I compose, the image isn't in the output file. Any help on why building the string with the "PrimaryInputFile()" is breaking it would be great! Thanks!

  2. I am trying to find a way to output a proof pdf that has 1 page per record, and also a print pdf that has multiple pages per record depending on a field called Quantity. For example

    Name ,  Quantity
    a         ,  3
    b         ,  2
    c         ,  5

    I want a proof file that has 3 pages in it, one for each record, then another print file that has 10 pages, each record duplicated based on the quantity. Is this possible?

×
×
  • Create New...