Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® VDP Producer (formerly FusionPro® Direct)


Thread Tools Search this Thread Display Modes
Old May 11th, 2021, 01:22 PM
bkurzbuch bkurzbuch is offline
Regular Contributor
Join Date: May 2014
Posts: 116
Default Upgrade to Producer - Inline Graphic drops out

We just recently upgraded to FusionPro Producer. We have several jobs that use a inline graphic. with a rule such as(return '<graphic file="Mercer_Bullet.pdf"'.
Before the upgrade as long as the graphic file is in the same folder as the template these all worked fine. Now when I send the job to producer the inline graphic that is called our for drops out of the output. With using producer now is there an additional step I'm missing? Thank You
Reply With Quote
Old May 11th, 2021, 05:39 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,693
Default Re: Upgrade to Producer - Inline Graphic drops out

With Producer, the job is no longer composed on the same client machine with the graphics. It's composed on a remote server.

So you'll need to do one of two things to make this work with Producer and have the remote composition find the graphics:

1. You can put the graphic files in a network location, with a UNC path, such as "\\servername\sharename\subfolder". Then, depending on whether these are resources shared by multiple jobs, you can either (1a) add that UNC path to the Search Path for each job, on the Advanced tab of the Composition Settings, or, better yet, (1b) go to the Producer server machine and add the UNC path as the Graphic Images Search Path for the queue in the FusionPro Producer Configuration app, and graphics in that folder will be found for any job submitted to that queue. You can set up different queues with different search paths (and different printer hot folders). You may need to work with your IT people to ensure that the account under which Producer jobs are run (specified in the FusionPro Producer Configuration app) has the proper read access permissions to the UNC share.


2. Add the graphics as named resources in each job, in the Resources dialog. You'll need to make sure that the "Upload graphic files to FusionPro Producer" box is checked in the Composition Settings when submitting the job to Producer. You'll also need to call the graphics out by resource name with the Resource function instead of by file name in CreateResource, or, in <graphic> tags, use the resource attribute (with the resource name) instead of the file attribute (with the file name), e.g.:
return '<graphic resource="Mercer Bullet">'
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
Old May 12th, 2021, 09:23 AM
bkurzbuch bkurzbuch is offline
Regular Contributor
Join Date: May 2014
Posts: 116
Default Re: Upgrade to Producer - Inline Graphic drops out

Thanks for the explanation Dan. Very helpful.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 04:03 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.