Jump to content

mstellaclmarketing.com

Registered Users - Approved
  • Posts

    6
  • Joined

Converted

  • FusionPro Products
    No

mstellaclmarketing.com's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. Hi Dan, Since also all of the lines of text and my graphics are rule based I ended up just adding this to each rule as need and seems to have solved my problem. Now I have the proof page they way I needed it. if(Trim(Field("attribute7")) == "Phnophoto") return ""; else return "do this" Thanks for your help, Mike
  2. Thanks for your quick reply Dan. I was trying to use the FindTextFrame function to find frames with the same names on multiple pages so I guess that is why it wasn't working for me. Ultimately what I am trying to do is have page "Front" be my print-ready page for a business card and have page "Front-Proof" be what the customer sees on the server that shows a border with cut lines. I wanted them to see the business card minus the bleeds and with a black border around where the cuts go because they always think they can use that excess space. The only difference between page "Front" and page "Front-Proof" is I added another image that goes over it all blocking the bleeds out and shows the border. I can go back and rename the frames but to be honest doing that on all of our designs would be pretty time consuming given all of the other rules that call the frames by their unique names. I would have to duplicate all the rules as well. Regards, Mike
  3. Hi, I have a callback I am trying to use on two seperate pages. It works on my first page "Front" but not on my second page "Front-Proof". Still learning this but I thought the SetBodyUsage would do it and no luck. FusionPro.Composition.SetBodyPageUsage("Front",true); FusionPro.Composition.SetBodyPageUsage("Front-Proof",true); if(Trim(Field("attribute7")) == "Phnophoto") { FindTextFrame("CustomerName").suppress = true; FindGraphicFrame("0Degrees").suppress = true; FindGraphicFrame("90Degrees").suppress = true; FindGraphicFrame("180Degrees").suppress = true; FindGraphicFrame("270Degrees").suppress = true; FindGraphicFrame("Photo Border Color").suppress = true; } else { FindTextFrame("CustomerName2").suppress = true; FindTextFrame("CustomerName3").suppress = true; FindTextFrame("CustomerName4").suppress = true; FindTextFrame("CustomerName5").suppress = true; FindGraphicFrame("Logo").suppress = true; } Thanks, Mike FusionPro VDP Designer 8.2.7
  4. Hi, I have a text frame I am using to build a business card. It is up to the customer to upload a logo or use the business card without. I have the rule "Logo Upload" below inserted into the text frame to check to see if the file exists but when the graphic does exist I get this "ÿØÿàÿØÿà" instead of the image. I assume it is because I am not assigning the file extension in the code but I have no way of knowing what file/image type the customer is going to upload of the 5 we allow. I am using FusionPro VDP Deisgner 8.2.7. var website = Field("URL") + "/Merchant5/s01/attr_uploads/basket_" + Field("BASKID") + "/"; Pic = CreateResource(website + Field("attribute2") + "", "graphic", true); return CreateResource(website + Field("attribute2"));
  5. Hi Dan, I am running 8.2.7 on Windows Server 2003. Thanks, Mike
  6. Hi, I have a very simple application I am trying to use on our server calling an image from a URL. It works without issue on desktop but when I move it to the server I am getting the following error: Composing record #1, input record 1 Graphic is not found or is not processed properly: C:\WINDOWS\TEMP\Fus938.tmp Check for file existence and that it is of the proper format. Graphic is not found or is not processed properly: C:\WINDOWS\TEMP\Fus938.tmp. Check for file existence and that it is of the proper format. To test I shortned the path, changed to another image and still no luck. The image does exist and I was able to confirm that the image path is being passed correctly during composition. This is the rule I have setup: var website = "http://www.mydomain.com/Merchant5/s01/attr_uploads/"; return CreateResource(website + Field("attribute2")); This is the data I was able to get working in desktop but not on server: attribute1|attribute2 Test Text|tesimage.jpg Thanks in advance, Mike
×
×
  • Create New...