Jump to content

rkury14

Registered Users - Approved
  • Posts

    56
  • Joined

Everything posted by rkury14

  1. OMG, Thank you much for that clarification and fixing it for me. This has really been a learning experience. You are the best!
  2. I am using a Text Frame window to apply the url from the list. There is only shrink to fit, but that doesn't work in this instance. Should I be using a graphic window? Because that would be asking for a path source which I don't have. I have attached the zip of the fusionpro template. I am looking for the best way to resize the image. Thank you,20302_Shift_Mailer.zip
  3. Hi Dan, Thanks this link worked for me as well. I placed it in my test list. return CreateResource("https://fusionpro-marcomcentral.netdna-ssl.com/wp-content/uploads/2019/06/fusionpro-icon.png"); I was able to get other url links to show as well, but I am still waiting on the customer list. They use API from Amazon. I suppose until we have that list, there is nothing further you can do to help. Except, with my testing I needed to apply a scaling or resizing on the images. Where in the code would I place a uniform scaling or size control to the images? Thanks in advance.
  4. Hi, I have a "CreateResource" rule here that seems to work on a URL Link with https://, but the images are coming in at different sizes. Too small or too big. How can I add a scaling code into the rule to make the images uniform? Here is the js rule. var baseName = Field("URL"); var extensions = [".tif", "gif", ".png", ".jpg"]; for (var i in extensions) { var pic = CreateResource(Field ("URL") + extensions, + "graphic", true); if (pic.exists) return pic;} Print("http://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-12/256/thumbs-up" + Field ("URL") + " not found."); return CreateResource(Field ("URL")) return NullResource(); Thank you,
  5. Hi, I am still having trouble previewing any images from a customer URL Link. This is a postcard mailer. They want to use their website image portal using https:// links on their database list. So my rule should be able to connect to the links in the list and preview the images on the website. This is one rule that I am using right now. But I am open to any other options. I am a novice with JS so anything helps. var baseName = Field("URL2"); var extensions = [".tif", "gif", ".png", ".jpg"]; for (var i in extensions) { var pic = CreateResource(Field ("URL2") + extensions, "graphic", true); if (pic.exists) return pic; } Print("graphic" + Field ("URL2") + " not found."); return CreateResource(Field ("URL2")) return NullResource(); I am using FusionPro 10.1.11 on Windows 10. The links are https://
  6. I forgot to mention I am using FusionPro 10.1.11.
  7. Hello support, I have a postcard mailer that has variable image swop using website URL links in the database list. How can apply the url link in my postcard to switch the images based on the url links? Thank you
  8. Thank you so much Dan, That worked on all 4 vers as desired. I have attached a pdf of the template and a final pdf of the results. You will see that each ver as their corresponding information and pie charts as desired. Thanks again.
  9. Hi Dan, So now I have to add two more version pages similar to the last two. So I will have a total of 4 versions GBOO, GOO, OO and BOO. I tried adding the page names accordingly but it is not working. Here is the rule you started and I added on to it: var isGBOO = Field("version") == "GBOO"; FusionPro.Composition.SetBodyPageUsage("GBOO-4", isGBOO); FusionPro.Composition.SetBodyPageUsage("GBOO-5", isGBOO); FusionPro.Composition.SetBodyPageUsage("GBOO-6", isGBOO); FusionPro.Composition.SetBodyPageUsage("GOO-7", !isGBOO); FusionPro.Composition.SetBodyPageUsage("GOO-8", !isGBOO); FusionPro.Composition.SetBodyPageUsage("GOO-9", !isGBOO); var isOO = Field("version") == "OO"; FusionPro.Composition.SetBodyPageUsage("OO-10", isOO); FusionPro.Composition.SetBodyPageUsage("OO-11", isOO); FusionPro.Composition.SetBodyPageUsage("OO-12", isOO); FusionPro.Composition.SetBodyPageUsage("BOO-13", !isOO); FusionPro.Composition.SetBodyPageUsage("BOO-14", !isOO); FusionPro.Composition.SetBodyPageUsage("BOO-15", !isOO); else isGBOO = Field("version") == "GBOO"; FusionPro.Composition.SetBodyPageUsage("GBOO-4", isGBOO); FusionPro.Composition.SetBodyPageUsage("GBOO-5", isGBOO); FusionPro.Composition.SetBodyPageUsage("GBOO-6", isGBOO); FusionPro.Composition.SetBodyPageUsage("GOO-7", !isGBOO); FusionPro.Composition.SetBodyPageUsage("GOO-8", !isGBOO); FusionPro.Composition.SetBodyPageUsage("GOO-9", !isGBOO); I appreciate any help on this. Thank you!
  10. Dan, Thank you so much!!! This did the trick. I will look into your suggestion. I'm hoping to drive the whole template using the list, so if there are any changes to the list. I wouldn't have to make any changes on the template.
  11. I seem to be hitting a wall here with regards to swapping pages on my template. I have a complex dynamic financial statement with charts. I want to swop certain pages so it appears that the charts move up and down. I basically have two versions that potentially will go to four versions. But right now I am dealing with a 11 page document. One version is called GBOO (Green, Blue, Org Student, Org Parent) the other version is GOO. So I have GBOO pages as 1,2,3,4,6,8,10,11 and GOO pages are 1,2,3,5,7,9,10,11 I want to swap the middle pages 4,6,8 with 5,7,9. I have tried different codes based on my research on this forum. Turning all the pages to Unused does not work, it just errors out. So this is what I came up with. if (Field("version") == "GBOO") { FusionPro.Composition.SetBodyPageUsage("GBOO-4",true); FusionPro.Composition.SetBodyPageUsage("GBOO-5",true); FusionPro.Composition.SetBodyPageUsage("GBOO-6",true); } if (Field("version") == "GOO") { FusionPro.Composition.SetBodyPageUsage("GOO-7",true); FusionPro.Composition.SetBodyPageUsage("GOO-8",true); FusionPro.Composition.SetBodyPageUsage("GOO-9",true);} else { FusionPro.Composition.SetBodyPageUsage("GBOO-4",true); FusionPro.Composition.SetBodyPageUsage("GBOO-5",true); FusionPro.Composition.SetBodyPageUsage("GBOO-6",true); } I have attached my template as well. Let me know and I can attached my list as well, but not sure it will help. ASU FAN_GBOO Swop Pages.pdf
  12. So I was able to create a list with the number sequencing. So this issue is somewhat resolved, am still curious as to how the rule would have looked. Thanks, :-)
  13. Anyone out there that can help me with this problem. I am resorting to typing in the sequence manually because I can't get any code to work. I am a beginner and I don't even know how to apply the Call back rules. I really need someone to break it down. I have seen other code that might be close but I just don't know how to apply it correctly. Thanks :-(
  14. Hmmm, must be missing something, is not working. Also, will it work okay with a list applied to other numbering factors?
  15. Hello, I looked around and could not find an easy fix to this. I have tickets that I have to number consecutively, except it has to be every 100 records. For example, I start with 4000, 100 times then 4001, 100 times, then 4002, 100 times etc. I have to do this all the way to 110,000 records. I am currently using a list with the other aspects of the template that have numbers. Is there a rule I can apply for this? Thank you,
  16. Thanks Dan, I see it in your link. You must think I'm a complete imbecile lol. Thanks for your help.
  17. Thanks Dan, it looks like I don't have some kind of permission or something because I could not find that "new thread" under any link. Except when I went to "MarcomCentral News", but then I needed permission to join that group which don't think I need to.
  18. Thank you! That works perfectly. I have another question. Unfortunately, I can't figure out how to post a new post anywhere in my login, otherwise I would make a new post. I was just able to do it when I first logged in. Anyways, I have a client who wants me to generate a bar graph from a list. I looked it up online, but I am not sure how to apply it on my FusionPro. I don't have the actual list yet, but is there a default script for making graphs? thank you for your help.
  19. I have a javascript to remove a comma on a name that is blank, but I my problem is the comma keeps going in front of the name instead of after it. Here is the script. return (Field("First Name") != "") ? "," + Field("First Name") : ""; the name looks like this ",Mike". How can this be fixed please? Thanks,
  20. Hi David, Very helpful information. I forgot about this method of opening up in text. Also, I will have to try the java rule. Thank you,
  21. David, Thank you. I tried that I will have to test it. But I can't get away from having the barcode numbers get truncated once the list is save as a .csv file. Even with changing the format to text. Then when I open the list, the numbers look like this 4.83E+11. So I like putting the asterisk because it keeps the integrity of the numbers like this *483324620888* In fact, I am having trouble with the human readable numbers because they get truncated, so I have to place a small dash - to keep them intact. Any thoughts?
  22. False alarm, I final found the correct barcode font C39S that worked with the TicketMaster barcode scanner. This could be good info for anyone else with that issue. Just make sure you place an asterisk on the beginning and ending of each barcode number in the excel list. Like this *243074887772*
  23. Hello, I am trying to get the correct font to generate a barcode scan from a Ticketmaster XP20 Janam scanner. I tried all of the fonts available in FusionPro, but none work. Any suggestions?
×
×
  • Create New...