Jump to content

rkury14

Registered Users - Approved
  • Posts

    56
  • Joined

Converted

  • Location
    Tempe, AZ

Converted

  • Occupation
    PreMedia Variable Database Specialist

Converted

  • FusionPro Products
    No

Converted

  • OS
    PC system 7

rkury14's Achievements

Enthusiast

Enthusiast (6/14)

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

Recent Badges

10

Reputation

  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?
×
×
  • Create New...