#1
|
||||
|
||||
![]()
I am guessing that the Server is the only solution for me, but I would like to inquire in case there is an additional option. I have been working with the VDP Creator for about a month.
I currently have a single file with multiple markets, and each market needs to be it's own composition. I have seen questions answered that allow for Batch processing with Server that can bring in multiple inputs, and automate the composition. This will work, but what I would really like is to take a single data source and output multiple files based on a field. For example I have a data file of 36,000. Within the file I have 67 different markets. Market 1: 466 records Market 2: 277 records etc. Is there a way to control the output files based on a field in the data source? Output-Market1.pdf Output-Market2.pdf etc. |
#2
|
||||
|
||||
![]()
Sure you can do that from one data file. It's hard to give you examples specific to you without any knowledge of what your data looks like and what the contents of the field you're triggering off of are. At the very least, it would be helpful to know what version of FP you're running.
Generally speaking, if you have a field named "Market" that you're triggering off of and the contents of that field are the market that the specific record corresponds with, you could write an OnRecordStart callback rule that creates a new output file whenever that field changes (assuming you're running FP8 or later): Code:
if (FieldChanged("Market")) FusionPro.Composition.OpenNewOutputFile("Output-" + Field("Market") + "." + FusionPro.Composition.outputFormatExtension); Output Multiple Records Based on Data Name Output Based on Data Field Dynamic Chunking Based on Rule
__________________
Ste Pennell FusionPro VDP Creator 9.3.15 Adobe Acrobat X 10.1.1 Mac OS X 10.12 |
#3
|
||||
|
||||
![]()
Thank you step. The Callback Rule works perfectly. It's is a huge time-saver.
|
#4
|
|||
|
|||
![]()
Good afternoon.
I need to do exactly what the original posted asked however, when I go to my output its only a one record PDF titled as the last record field name I designated in the rule. I have a data file 496,101 records with 104 different "chunks" so in theory I should have 104 different pdfs all with different quantities and titled with corresponding "chunk" name. Im thinking it maybe a glitch or something, but I figured I would ask here before I head to support.
__________________
FP 9.1.0 Producer, Windows Server 2008 R2, Acrobat 10.1.9 |
#5
|
||||
|
||||
![]() Quote:
Also, how are you composing? Are you composing locally in Desktop (Acrobat), or are you composing through Producer?
__________________
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)}); ![]() |
#6
|
|||
|
|||
![]() Quote:
Not sure how to fix the error at this moment, and that is a task for another day. But thank you.
__________________
FP 9.1.0 Producer, Windows Server 2008 R2, Acrobat 10.1.9 |
#7
|
||||
|
||||
![]()
You mean like this? http://forums.pti.com/showthread.php?t=3163
That drove me insane for a very very long time. Somewhere around 9.2/9.3 it got fixed. You might check to make sure you are on the latest version on the server. |
#8
|
||||
|
||||
![]() Quote:
__________________
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)}); ![]() |
![]() |
Tags |
compose, multiple output, vdp |
Thread Tools | Search this Thread |
Display Modes | |
|
|