Jump to content

LisaHansen

Members
  • Posts

    17
  • Joined

Converted

  • Location
    Atlanta, GA

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    12.1.2

Converted

  • OS
    Windows 11

Converted

  • Acrobat Version
    Acrobat DC

LisaHansen's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

10

Reputation

  1. Hold up! Slight tweak and you did it!!! I flipped your filters at the bottom so .filter(String) was first and .filter(unique) was second. I figured it needed the resource before it could know if it was unique or not. You are brilliant! Thank you!
  2. This one works if any or all of them exists, however, it's allowing the duplicate image. Unfortunately, that's the reason I fell down this rabbit hole. In my tag, I have three different choices for A, B & C, they all point to the same image in the ExDF. It's showing that image three times instead of just showing it once. Could you explain the logic in lines 2 & 3 for me, please? I've not seen that before and would love to understand what you had in mind there. I did try changing false to true in line 3, no dice. I appreciate you!
  3. Thank you so much for checking this out, Step! Currently, my tag file has data in all three fields. With your code, I get this error: uncaught exception: Error: In Resource(), no resource named CompetitorImage. I put my code back and it works again (with all three fields having data). I did test yours with B & C having no data and received the same result as with all three populated.
  4. I'm working on a project where images are returned from an external data file. The user can make up to three choices from drop-downs. In the ExDF, several drop-down options may point to the same image file. The client does not want duplicate images, so I put together the code below. If options are chosen for all three fields, it works great. var externalDF = new ExternalDataFileEx("Competitor-ExDF.xlsx", "Excel"); var a = externalDF.FindRecord("CompetitorDropDown", Field("CP-Product-1-A")); var b = externalDF.FindRecord("CompetitorDropDown", Field("CP-Product-1-B")); var c = externalDF.FindRecord("CompetitorDropDown", Field("CP-Product-1-C")); var caseA = ((externalDF.GetFieldValue(a, "CompetitorImage"))); var caseB = ((externalDF.GetFieldValue(b, "CompetitorImage"))); var caseC = ((externalDF.GetFieldValue(c, "CompetitorImage"))); var resultA = Resource(externalDF.GetFieldValue(a, "CompetitorImage")).content; var resultB = Resource(externalDF.GetFieldValue(b, "CompetitorImage")).content; var resultC = Resource(externalDF.GetFieldValue(c, "CompetitorImage")).content; if ((caseA != caseB) && (caseA != caseC) && (caseB != caseC)) {return resultA + " " + resultB + " " + resultC;} if ((caseA == caseB) && (caseA != caseC)) {return resultA + " " + resultC;} if ((caseA == caseB) && (caseA == caseC)) {return resultA;} if ((caseA != caseB) && (caseA == caseC)) {return resultA + " " + resultB;} if ((caseA != caseB) && (caseA != caseC) && (caseB == caseC)) {return resultA + " " + resultB;} else return ""; I'm having an issue if they don't choose something for all three. Ideally, they should be able to choose just A or A and B if they'd like. Currently, if only one or two options are chosen, it breaks the whole table. This rule is just for the first row. The images appear side-by-side if there is more than one unique image. How can I change this so if there is nothing in choices B or C it will still return A (or A & B if only C is blank)? Thank you for looking!
  5. I've been working with the FusionPro products in their various iterations for 17 years. I'm completely proficient with Adobe CC, FusionPro products and MarcomCentral. Please contact me for any template creation, restructuring or over-flow work that your company may need. Thank you! ~Lisa Hohner-Coombs lisa.hohner.coombs@gmail.com
  6. Within the Custom Content page, in the Distribution fields, where you're supposed to insert only valid CSS, the system, upon save, converts double and single quotation marks (",') into HTML entities (" and so on). If we have any CSS rules that require the usage of strings or string literals, those rules become invalid. How do we escape double or single quotation marks to avoid the character conversion? I've tried the usual \ , but that has had no effect. What does anyone recommend? I'm all eyes.
  7. Dan, Thank you SO much for looking into this. I also appreciate you streamlining my code. I know I wrote that way too repetitively, but that sometimes helps me when I'm troubleshooting. I come from the Prepress world, I learned javascript from you and this forum. I'll put your extra spaces plan into action and will watch for a fix for repeatable components and vertical alignment. Thank you again! ~Lisa p.s. I should have warned you about the project topic. I'm just used to it. Lol.
  8. Hello again! Bumping this one more time to see if anyone has thoughts. Please let me know... Thank you! ~Lisa
  9. Thanks for reading. I thought that might be the case, but I was hoping someone had seen this before and knew right away the perfect fix. Ha ha. I'll dummy this up so it can be uploaded today. Thank you!
  10. Hello all! I'm building a catalog utilizing FPRepeatableComponent. Depending on the information in the record, each section can have from 1 to 11 products that flow into the body and overflow pages. Each page can contain up to two products. The issue I'm having is if there is a single product on the page. If I set the text box to vertically align center, I get the one product centered, but I also get a duplicate of the same product aligned to the top (overlapping each other). Instead, I tried using FindTextFrame in OnRecordStart to center the content, and got the same result. If I align the text frame to the bottom, I get one on top and one on the bottom of the same product. Now, if I set the frame to align to the top, I get one product on the page like I should. In short, the alignment works, but always ghosts the same product to the top. How do I bust the ghost? TIA! ~Lisa **Edited to add that the rule does validate correctly, only listing one instance of the final product. Though, if the text box vertical alignment is set to center or bottom, two instances of the final product appear on composition. FusionPro Windows 10.0.26
  11. I've been charged with the task of creating a table in FusionPro to EXACTLY match a table created in Illustrator. I'm pretty close, but a big issue I'm having is the border thickness. The border line drawn in Illustrator is 6 pt., which is thicker than the "Thick" parameter. I can't figure out a way to set the border thickness to an exact point size, can that be done? Thanks in advance!
×
×
  • Create New...