I am new to DynamicPDF and not sure why I am seeing this behaviour:
my project is taking values from an HTTP get and pulling XML to make PDF pages. The project is producing a number of different reports in landscape and portrait. When the page is called more than once with different values, values from previous calls are still left on the new PDF generated making it unreadable. Say it is called with field=Something and then run again with field=Another then the second PDF will have both Something and Another displayed on top of each other.
Elements overwriting each other
Re: Elements overwriting each other
Support · Jun 17, 2008Hello,
Can you please double check your code if it is concatenating old and new field values? Also please double check if you are using any static variables in an inappropriate way.
This also may be causing most probably because the Acrobat reader Caches the values temporarily.
You can stop Acrobat Reader from caching the values by going to the going to Edit Menu --> Preferences --> Select Forms on the left Panel --> Uncheck the check box that says "Keep forms data temporarily available on disk and this will solve your problem.
And the only other option is by adding a random number or timestamp to the query string every time it gets generated and this will prevent the values from being cached.
If this does not solve your problem then please send over a sample code which can recreate the behavior and the PDF documents you are using to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look into it further.
Thanks,
ceTe Software Support Team.
Re: Elements overwriting each other
Forum member · Jun 17, 2008It was in .NET, the template object was being retained between page calls.
Thanks.