TSCOTT Posted May 17, 2012 Share Posted May 17, 2012 Hello, I have 6 front and back PDF's merged into one. On screen everything seems to be working great. However, when I compose to a PDF, my data fields are showing the rule name instead of the data. Quote Link to comment Share on other sites More sharing options...
esmith Posted May 17, 2012 Share Posted May 17, 2012 That typically means that the rule is unable to produce valid output at composition. Since you say that your previews work fine, is it possible that the data you are using during actual composition is setup differently than your test data (i.e. different field names, different file format, unexpected values, etc)? Quote Link to comment Share on other sites More sharing options...
TSCOTT Posted May 17, 2012 Author Share Posted May 17, 2012 Thanks for the reply. However, it is the same data file. I view it on screen and then compose as a pdf. Anymore suggestions? Quote Link to comment Share on other sites More sharing options...
ThomasLewis Posted May 17, 2012 Share Posted May 17, 2012 I've seen this happen if you call a Field within a function in JavaScript Globals. It would preview fine but the output would show the rule name just as you described. If you set the global variables for those fields in OnRecordStart then it outputs fine. Quote Link to comment Share on other sites More sharing options...
havdp Posted May 18, 2012 Share Posted May 18, 2012 Do any of your rules contain "isPreview"? Quote Link to comment Share on other sites More sharing options...
TSCOTT Posted May 21, 2012 Author Share Posted May 21, 2012 no, none of them do. Quote Link to comment Share on other sites More sharing options...
FreightTrain Posted May 21, 2012 Share Posted May 21, 2012 TSCOTT 1) What are your Rules supposed to return? 2) Are your Field names and Rule names the same? This can cause the composition to confuse which is which. Perhaps even just re-naming your Rules could work. 3) Do any of the records compose correctly? Perhaps your code is working for the select records you are previewing, but not for complete composition. 4) Does the Rule(s) have a default value? You may also just also try to remove the Rule, and re-insert the Rule and give it another go. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted May 31, 2012 Share Posted May 31, 2012 Look at the composition log (.msg) file. It will tell you what's going wrong. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.