Jump to content

-Lisa-

Registered Users - Approved
  • Posts

    191
  • Joined

Converted

  • Location
    Long Island, NY

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.16

Converted

  • OS
    Mac OS X 10.10.5 (Yosemite)

Converted

  • Acrobat Version
    Acrobat DC

-Lisa-'s Achievements

Community Regular

Community Regular (8/14)

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

Recent Badges

10

Reputation

  1. I'm not sure why I'm having so much difficulty with this one. I'm sure the answer is obvious: Working on a kiss cut label template set 4 up on a page in my template with a static background. There are up to 16 available fields in the data. I need to add additional pages with the same static background when data is present in fields 5 through 16. Field 6 won't exist unless there's data in Field 5. Field 10 won't exist unless there's data in Field 5 through 9, etc. I thought a basic OnRecordStart rule would work by creating a 4 page template and then enabling/disabling pages based on the presence of data in any field after #4 like this: if(Field("Card5") == "") { FusionPro.Composition.SetBodyPageUsage("Page2", false); FusionPro.Composition.SetBodyPageUsage("Page3", false) FusionPro.Composition.SetBodyPageUsage("Page4", false); if(Field("Card5") !="" && Field("Card9") =="" && Field("Card13") =="") { FusionPro.Composition.SetBodyPageUsage("Page2", true); FusionPro.Composition.SetBodyPageUsage("Page3", false) FusionPro.Composition.SetBodyPageUsage("Page4", false); } else if(Field("Card5") !="" && Field("Card9") !="" && Field("Card13") =="") { FusionPro.Composition.SetBodyPageUsage("Page2", true); FusionPro.Composition.SetBodyPageUsage("Page3", true); FusionPro.Composition.SetBodyPageUsage("Page4", false); } else if(Field("Card5") !="" && Field("Card9") !="" && Field("Card13") !="") FusionPro.Composition.SetBodyPageUsage("Page2", true); FusionPro.Composition.SetBodyPageUsage("Page3", true); FusionPro.Composition.SetBodyPageUsage("Page4", true); } Obviously I'm way off base here. Any thoughts?
  2. Thanks! Unfortunately this doesn't work. Just as with my version, it's returning the percentage sign in front of the number. It need the symbol after the number.
  3. Hello all, Trying to come up with a way to remove a percentage symbol if it already exists in the data but return the symbol if it does not exist. I already successfully created a replace rule for the presence of a dollar sign: return Field("Price").replace('$', ""); If I simply replace the dollar symbol with a percentage symbol, I'm not getting the same result: return Field("Percent").replace("", '%'); Any ideas on what I'm obviously doing wrong? Thanks!
  4. Goodness, haven't looked at this one in years but it's come back to haunt me... When using the rule in it's original form: <code>return TaggedTextFromRaw(Field("YOUR FIELD NAME")).replace(/(.*)(\s)(.+)$/, "$1 $3");</code> I'm now getting an additional space between the two words that break to the next line. What would read without the rule as: Book Title, Author First Name Author Last Name Is now displaying with the rule as: Book Title, Author First Name Author Last Name There is an additional space between the first and last names. I realize this thread/rule is old so perhaps something has changed with the newer FP versions and oS?
  5. You wouldn't use Text Profile Attributes for this. Instead, use Image Collections with User Assignments. This allows you to assign images by user.
  6. If you have iForms capability, you could also set up the different turnaround times via a form field which then changes the pricing based on the selection in that field (Dynamic Pricing).
  7. You can achieve this by using Text Profile Attributes for the address fields and using Image Collections for the images. There is documentation for this that exists but lately I have not had much success with the search for documentation in MC so I hope the below helps you at least get going: You create the Text attributes under "Profile Attributes" in the Template section of MarcomCentral, then upload the user assignments either in the same area or via Bulk Uploads. With regards to the images, create a library and upload all of your images. Once uploaded, head over to the Image Collections tab in that library and create a new collection. Under the "Settings" Section, make sure to select "Yes" under "Filter Images by User?". Then, find your library and all of the images you want to assign. Once you finish this, go back to Bulk Uploads, download an existing User spreadsheet because you'll need the ID for each user (the number in the very last column). Then select the Image Collection User Assignments Bulk Upload and download the worksheet and fill in the appropriate information and re-upload.
  8. Anyone know of a way to add a space between all characters of a field? I have a numeric field where a space is required between each and every character. It's a Zip Code field so the majority of the records will contain five digits. Thanks!
  9. If the font family you're using has an actual bold style, you'll need to actually use the font name tag rather than use the bold tags so the font switches to the bolded version. For instance, say the font is Arial Bold, you would use: var fax = Rule("fax_Rule"); if (fax.length > 0) { return fax + " " + <f name="Arial Bold">F</f> ; }
  10. I agree though I'm assuming from the non-response that this is not possible.
  11. Hi all, Anyone know a way to pull an order's shipping address from a field within a template which also happens to be pulled from an external data file?
  12. You are the best, Ste! Thank you again!!
  13. Hi Dan, I'm trying to do something similar here by placing the FusionPro.Composition.outputFileName into an OnNewOutputFile callback rule. When I validate the rule, I receive the error: This is what I'm placing inside the callback rule: return FusionPro.Composition.outputFileName(Field("LastName") +'_'+Field("FirstName"));I thought at first that something may be wrong with my syntax but that usually returns a syntax error...
  14. AH! Why didn't I think of that? Thanks, Ste! You're amazing!
×
×
  • Create New...