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

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 26th, 2022, 12:18 PM
Fletch Fletch is offline
Regular Contributor
 
Join Date: Apr 2009
Posts: 103
Default Multiple Page Resource.

I accidentally asked this question in the Producer area, I apologize.
I have a variable job that has the 1st page that has a letter with some variable fields. Starting with the second page I need to place a 3-page PDF, which will become pages 2-4, for a total of a 4-page document. The filenames are in a field in the data file. I have created a resource for the 3-page PDF files. Then I created a rule for each of the pages. I've attached all the files for what I did. It's a test sample, instead of loading all 300 records. Still, when I validate the rule I get an error that my resource doesn't exist, when it clearly does. I tried another method I found on the forum and it was crazy confusing. Please Help!
Attached Files
File Type: zip Test.zip (27.81 MB, 3 views)
__________________
Using FusionPro Desktop 12.1.3 on Widows 10 Pro i7-8700 CPU, 3.2 Ghz with 16GBRam.
Acrobat DC (the Cloud)

Also Running FusionPro Producer on a Windows 7 Professional Virtual Machine.
Reply With Quote
  #2  
Old August 26th, 2022, 12:56 PM
Susan Susan is offline
Regular Contributor
 
Join Date: Oct 2008
Location: Maitland, FL
Posts: 65
Default Re: Multiple Page Resource.

I edited your rules a little and it seems to work. I added a "Insert Picture Rule" with the path to the pdfs and altered your page rules slightly to this:

var r = Rule("Insert Picture Rule");
r.pagenumber = 1; // or 1 here
return r;

I've attached the revised pdf with the new rules.
Attached Files
File Type: pdf VD-TEST_MAILING COVER FLYER_Fc Revised.pdf (589.4 KB, 3 views)
__________________
FusionPro Creator v10.1.11 / FusionPro Producer / FusionPro Expression 3.2.2 / Mac OSX 10.14.6 / Acrobat Pro DC
Reply With Quote
  #3  
Old August 26th, 2022, 03:36 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,654
Default Re: Multiple Page Resource.

The resource exists, but not in the same folder as the template, so FusionPro doesn't know where to find it.

You can add a rule with the search path to the graphic, as Susan suggests.

But there's a much simpler solution: Go into the Composition Settings dialog, on the Advanced tab, and enter the path to the graphics in the Search Path box there. This can be a path relative to the template, so all I had to do to get it to work was simply type the folder name "fc pdf files" (without quotes) in that Search Path box, and the graphics are found.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

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
  #4  
Old August 29th, 2022, 04:52 AM
Fletch Fletch is offline
Regular Contributor
 
Join Date: Apr 2009
Posts: 103
Default Re: Multiple Page Resource.

Thank you both very much. Working perfectly now.
__________________
Using FusionPro Desktop 12.1.3 on Widows 10 Pro i7-8700 CPU, 3.2 Ghz with 16GBRam.
Acrobat DC (the Cloud)

Also Running FusionPro Producer on a Windows 7 Professional Virtual Machine.
Reply With Quote
  #5  
Old September 1st, 2022, 10:11 AM
Fletch Fletch is offline
Regular Contributor
 
Join Date: Apr 2009
Posts: 103
Default Re: Multiple Page Resource.

I have a question related to this job. When I choose to use the Fusionpro Producer, the images on pages 2-4 do not show up. Are they not being sent over with the job because they are not Resources? If so, how do I get producer to include them?
__________________
Using FusionPro Desktop 12.1.3 on Widows 10 Pro i7-8700 CPU, 3.2 Ghz with 16GBRam.
Acrobat DC (the Cloud)

Also Running FusionPro Producer on a Windows 7 Professional Virtual Machine.
Reply With Quote
  #6  
Old September 1st, 2022, 02:20 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,654
Default Re: Multiple Page Resource.

Quote:
Originally Posted by Fletch View Post
I have a question related to this job. When I choose to use the Fusionpro Producer, the images on pages 2-4 do not show up. Are they not being sent over with the job because they are not Resources? If so, how do I get producer to include them?
So, you could add every graphic used by the template as a resource, and they will all get collected up and uploaded to Producer.

But these will all get uploaded every time you compose, which will make each submission take longer, and will fill up the drive on the Producer machine more quickly.

The best practice for Producer jobs is to put the graphics on the network, so that both local previews and Producer compositions can access them from a common location. On Windows, you will access the files via UNC paths, which start with two backslashes, something like "\\server\share\folder\filename.jpg". You can enter the path to the graphics (\\server\share\folder\) in the same Search Path location, on the Advanced tab of the Composition Settings, that you used for the relative path. If you have more than one location where graphics are located, you can specify multiple paths delimited with semicolons ; in that Search Path box.

Another option is to set a global search path for all jobs submitted to the queue, in the Producer Configuration app, but this is more complicated and requires the graphics to be found differently in local previews than in Producer compositions.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

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
  #7  
Old September 2nd, 2022, 06:28 AM
Fletch Fletch is offline
Regular Contributor
 
Join Date: Apr 2009
Posts: 103
Default Re: Multiple Page Resource.

Thank you, Dan. I actually found one of your posts late yesterday, with the same solution. But, it just isn't working. I'm very familiar with UNC paths so the solution made perfect sense. I've even placed the path in the Producer Configuration. No luck. I've checked all permissions for Sharing on my PC and the PC that Producer is running on and it all checks out. I don't get any errors, I just get blank pages where those images are supposed to be. I'll keep Hammering away at it.
__________________
Using FusionPro Desktop 12.1.3 on Widows 10 Pro i7-8700 CPU, 3.2 Ghz with 16GBRam.
Acrobat DC (the Cloud)

Also Running FusionPro Producer on a Windows 7 Professional Virtual Machine.
Reply With Quote
Reply

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 05:39 AM.


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