Jump to content

KDeLay

Members
  • Posts

    8
  • Joined

  • Last visited

Converted

  • Location
    Portland, OR

Converted

  • Occupation
    Customer Service/Portal Admin

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    13.0.2

Converted

  • OS
    Windows 11

Converted

  • Acrobat Version
    Acrobat DC

KDeLay's Achievements

Rookie

Rookie (2/14)

  • One Month Later
  • Week One Done
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Oh my goodness, that was it. I had placed it in my resources folder. Thank you so much for pointing that out. Adding it to my ever growing notes now.
  2. I have an external data file that I have used successfully when making business cards for this same client. I'm trying to use the same list to generate their envelopes. I have literally copied and pasted the same JS rules from the business cards into the envelopes and now FusionPro is giving me this error when I compose: In ExternalDataFileEx.FindRecord(), no field named Front Location In ExternalDataFileEx.GetFieldValue(), no field named Address1 In ExternalDataFileEx.FindRecord(), no field named Front Location In ExternalDataFileEx.GetFieldValue(), no field named Address2 In ExternalDataFileEx.FindRecord(), no field named Front Location In ExternalDataFileEx.GetFieldValue(), no field named City In ExternalDataFileEx.FindRecord(), no field named Front Location In ExternalDataFileEx.GetFieldValue(), no field named State In ExternalDataFileEx.FindRecord(), no field named Front Location In ExternalDataFileEx.GetFieldValue(), no field named Zip I am attaching my template, my sample data and the external data file as I'm completely frustrated and confused why it's not working. Help! Johnstone#10ENV.pdf JohnstoneLocationList.txt Sample-Data-1.txt
  3. My apologies for being vague "It" is referring to when the customer is using Marcom to upload their logo to the template. My scenario is that the logo the client is uploading is 500 px x 180 px @ 150 DPI. The minimum requirement is that the logo be 300 px x 225 px @ 150 DPI Since the clients logo meets the 300 px width requirement but does not meet the 225 px height requirement, the client would like the system to still accept the logo since the width requirement is met. The above statement is correct. On the MarcomCentral platform, I can only set what the minimum DPI is.
  4. My client has requested this when a logo is uploaded: We want the logo to fit into the allocated space while staying proportional, filling up the space either by height or width (whichever is met first). Can it require that the logo is EITHER at least 225px tall OR 300px wide? Rather than requiring both. I reached out to MarcomSupport about this as I thought I had setup my template correctly. He had me change my graphic frame from "Proportionate Fill" to "Best Fit", which I have done but am still getting the same outcome. I'm wondering if instead of using the graphic frame for the scale, if a rule should be used and if so - how do I begin to write that code?
  5. So in theory that worked, but it also resulted in someone who has 2 locations selected to then have 2 backs, which is why I was using the if statements. I've attached my template/resources files here Data.zip
  6. I have a business card that the client would like to have multiple locations on the backside of the card. Due to my poor ability to understand or write javascript I decided to make a template for each option. Meaning if they have a value in "Location 1" it pulls the "Location 1" backside. Now when I tried to ask it to see if there is a value in "location 2" use "location2" I'm not getting the results I was expecting. There will be a total of 8 different locations on the back of the card. Before I write all of this, can you tell me why this code isn't working? Currently when I do the compose, all of the records generate "Location1" even though record #2 has 2 locations: if (Field("Phone") == "" && Field("Location1")!= "") { FusionPro.Composition.SetBodyPageUsage("FrontNoOffice",true); FusionPro.Composition.SetBodyPageUsage("Location1",true); } else if (Field("Cell") == "" && Field("Location1")!= "") { FusionPro.Composition.SetBodyPageUsage("FrontNoCell",true); FusionPro.Composition.SetBodyPageUsage("Location1",true); } else if (Field("Phone")!= "" && Field("Cell")!= "" && Field("Location1")!= "") { FusionPro.Composition.SetBodyPageUsage("FrontAll",true); FusionPro.Composition.SetBodyPageUsage("Location1",true); } else if (Field("Phone") == "" && Field("Location2")!= "") { FusionPro.Composition.SetBodyPageUsage("FrontNoOffice",true); FusionPro.Composition.SetBodyPageUsage("Location2",true); } else if (Field("Cell") == "" && Field("Location2")!= "") { FusionPro.Composition.SetBodyPageUsage("FrontNoCell",true); FusionPro.Composition.SetBodyPageUsage("Location2",true); } else if (Field("Phone")!= "" && Field("Cell")!= "" && Field("Location2")!= "") { FusionPro.Composition.SetBodyPageUsage("FrontAll",true); FusionPro.Composition.SetBodyPageUsage("Location2",true); }
  7. Thank you, worked perfectly! What would I change if my document was going to be double sided in the code? So the first option in the field would pull page 1 & 2 and the next option would pull 3 & 4?
  8. Super new to FusionPro. I reached out to Marcom for help with this and they recommended that I use the PageUsage rule but I'm having a hard time writing the proper code to make this work. I have a 2 page PDF, each page is a different template. If the field "design" is "Basic" then I only want it to use page 1. If the field is "Featured" then I want it to only use page 2. Help!
×
×
  • Create New...