Jump to content

web2print

Registered Users - Approved
  • Posts

    27
  • Joined

Converted

  • Location
    Minneapolis, MN

Converted

  • FusionPro Products
    No

web2print's Achievements

Explorer

Explorer (4/14)

  • Collaborator Rare
  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. Hello, We have a job where there are two options a customer can select from a drop-down and if they select the first option, they would get pages 1-60 of the PDF document. If they select the second option, they would get pages 61-120. Do you know of a rule that could accomplish this for the output file?
  2. Hello, I have a job where there are going to be 165 choices each with a front and back page. It will be set up as a multi-select checkbox in MarcomCentral and they can select whichever designs they want. I have a current product available that uses the same logic but is only populating one page based on a selection. The code for this rule is below: var Design = Field("Design Name"); var designArray = []; designArray = Design.split('|'); var results = []; for (i=0;i<designArray.length;i++){ FusionPro.Composition.SetBodyPageUsage(designArray[i], true); } What I would like to avoid is calling out each option in the rule like below: if(Field("Version") == "Design1") { FusionPro.Composition.SetBodyPageUsage("Design1", true) FusionPro.Composition.SetBodyPageUsage("Design2", false) FusionPro.Composition.SetBodyPageUsage("Design3", false) } else if(Field("Version") == "Design2") { FusionPro.Composition.SetBodyPageUsage("Design1", false) FusionPro.Composition.SetBodyPageUsage("Design2", true) FusionPro.Composition.SetBodyPageUsage("Design3", false) } else if(Field("Version") == "Design3") { FusionPro.Composition.SetBodyPageUsage("Design1", false) FusionPro.Composition.SetBodyPageUsage("Design2", false) FusionPro.Composition.SetBodyPageUsage("Design3", true) } If there a way to modify that first code snippet to display both pages for the design if I name the pages something like "Design1 - Page1" and "Design1 - Page2" or "D1 - P1" and "D1 - P2"? Appreciate any assistance or guidance
  3. Hello again Looking back at this thread... Before I was trying to populate multiple text selections across multiple text boxes. Now, all I am trying to do is populate multiple images across a number of graphic frames. I have used essentially the exact same rule you gave to me before for the text portion but every time I try to validate, it just says "resource does not exist". I am not understanding why this is. All the necessary resources have been added to the document and they all have the OK status. Am hoping one of you can help me figure out what the problem is. I have attached my document for reference. Thanks Cambria 8.5x11 Custom Palette_V2 .zip
  4. I have a product that I want the user to download a template for, enter their info, then re-upload the file to version the product. The PDF will populate based on the information entered in the spreadsheet. There are only two fields: Name & Years with Company I have a simple excel template that I want them to download but I cannot figure out what field type or what checkbox I need, or whatever to allow this option. Is it the data options tab? I have the fusionpro doc all done with the appropriate rules. Just need to apply them in marcom now. Summary: I just want one field that says "download template" or whatever, the user clicks that, enters in the names and years, then re-uploads the file. Clicks version to view a proof. Is this possible and what do I need to do in order to have this?
  5. >>> I tried typing it into the rule editor. Once I clicked "Validate" or "Ok", a popup dialog came up saying "Syntax error: Illegal Character" I played around with this a little bit: and I think this will work for me! Appreciate the help!
  6. This is excellent! Thank you! I did a few tests and was able to get the choices to populate in the different boxes via the "Connect text frames" tool. Now that I have that working, I would like to add a ™ symbol after each design name and collection name. I have added <superscript>TM</superscript> Right after //Declare Variables var Design = Field("Design Name") + "<superscript>TM</superscript>"; var Collection = Field("Collection") + "<superscript>TM</superscript>"; This looks like it works but the ™ is a little larger than i would like it. Is there a better way of doing this? Do you know of a way to make this smaller or actually get the symbol itself into the rule? I tried typing the character/symbol itself and it said "illegal character"
  7. I don't really have any code yet as i am not really sure where to start. I cannot post the actual job art but i have attached a mock up of what i am trying to accomplish. It is the exact same as the actual job, just doesn't have the actual job art. All the choices will be pulled from an EDF and based on those selections, other things will populate (collection, series) Let me know if you need more from me. I really just need a starting point (what the rule/code would look like) and i should be able to go from there. Thanks Chexbox Mock up.zip
  8. I am looking to create a document where the user can select a number of designs via the checkbox multi select field. I want to have ONE field showing all the options but when they select options 2+, i want those to populate in separate designated locations. Please see the attached image for reference. When i did a test, all the check boxes i selected populated in the same box which i do not want. First of all, i am wondering if this is even possible using only ONE field or if i would need more fields. If it is, what does this look like? I assume there would be some FusionPro rule/code involved but i have no idea what that would look like as this is my first time using this feature. If you think this should be posted in the fusionpro folder, let me know and i can post it there. Thank you
  9. Thanks for the advice. Ill keep that in mind! I managed to get the two different records to line up almost exactly where I need them. Thanks for all the help. I appreciate it.
  10. Yes, I know. But it is a heck of a lot closer than records 1 & 2. Yes, I plan on giving the frame a white fill. I dont need the text to be exactly perfect but i need it closer that what records 1 & 2 are giving. I agree, nobody would notice, or care if its off by a tiny amount. They will, however, notice when it is off by a good half inch. Here is the code that i added from your response yesterday. else { return '<p leadbefore="' + (Int(Field("Design 1")) * 14400) + '">' + "<superscript>TM</superscript>"; } When i change the number in there, it doesnt do anything. I notice no change when i save the rule. My validation/ return value is this: <p leadbefore="0"><superscript>TM</superscript> It is now not returning the actual design name. Just the "TM" What am i missing here?
  11. Here is a packaged folder containing the job. I didnt want to do this originally to protect brand names, etc. but ill just delete this thread after. The text box in question is the smaller one on the top (i havent added it to all pages yet as i want to get it to work first). Looking at page 1: Go ahead and cycle through the preview and you will notice that on records one and two (without the larger "luxury" font) that the text does not line up where i want it. But on records 3 & 4, it lines up great because it has the Luxury text. I want to add in padding to the record types of one and two so that they also line up.
  12. Hello I am trying to set up a rule in FusionPro where a specific instance gets a different space above value than others and am having some trouble. There will be multiple options for a user to select and some options include text that is larger than others (so this messes with the paragraphs space above value in the text editor. For whatever reason.) Have a look at my code: if(Field("Design 1") == "Black" || Field("Design 1") == "Gold" || Field("Design 1") == "Gray" || Field("Design 1") == "Emerald" || Field("Design 1") == "White" || Field("Design 1") == "Navy" || Field("Design 1") == "Blue") { return (Field("Design 1")) + "<superscript>TM</superscript>" + '<f name= "LainieDaySH">' + '<z newsize="15">' + "<color rgb=c59617> Luxury</color>" + '</f>' ; } else { return '<p leadbefore= 3>' + (Field("Design 1")) + "<superscript>TM</superscript>" + '>'; } The section in question is highlighted in dark red. The options above, if selected, will add the word "luxury" in a larger font as you can see in the code. When the "else" (dark red) options are chosen, they are not lining up where i want them to be on the document. I am assuming this is because of the font size increase. I have tried the <p leadbefore= > tag but have been unsuccessful with it so far. I also saw another thread here: http://forums.pti.com/showthread.php?t=4395 but it was confusing and i didnt exactly understand what this part was for (Int(Field("SpaceAbove")) * 7200). Is there something that i am missing from that tag? Is there another way to do this? Thank you.
  13. Hello, I am in need of some guidance to get body pages to populate based on a value in an external data file. I have two different body pages that will be used, a black one and a white one. One or the other will populate based on the users location and the logo for that location. If the logo looks better on a black background, i want them to get the black version. Same thing with the white version. The EDF will be as simple as: Location --------- Version Home Depot ------- White Lowes -------------- White Menards ------------ Black Etc... etc... So when they self register, they are going to be selecting their location and then based on that decision, all of the products in the catalog will divert to either white background or black background. What would the "onrecordstart" rule look like within each product? I understand how to get information to populate from an external data file but i am just not sure how to "FusionPro.Composition.SetBodyPageUsage" from an external data file. It needs to search/find the value for "version" in the EDF somehow and then set the body page based on that but i am just not sure how to spell that out in a rule. Thank you
×
×
  • Create New...