1. Erick Bergsma
  2. PowerBuilder
  3. Monday, 26 October 2020 12:17 PM UTC

Hello all...

We have created a composite report and used the SaveAs NativePDF! method.

What we noticed in the PDF Document Properties is that the Title is DataWindow.

Does anyone know if we can change that at the time we do the SaveAs?

 

 

 

Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 28 October 2020 03:07 AM UTC
  2. PowerBuilder
  3. # 1

Hi Erick,

 

I suggest you can work it around by setting the “Document Name” property of datawindow with space, then it will appear blank title for the PD, for example:

dw_1.Object.DataWindow.Print.documentname =" "

And I also suggest you report it as a bug to our ticket system:https://www.appeon.com/standardsupport/newbug so it can be properly received and tracked.

 

Regards,

 

Comment
  1. Roland Smith
  2. Friday, 11 December 2020 13:36 PM UTC
What was the fix? What is the default value now?



You can also change that property in script:



lds_categories.Modify("DataWindow.Print.DocumentName='Categories'")

  1. Helpful
  1. Mark Lee @Appeon
  2. Monday, 14 December 2020 02:57 AM UTC
Hi Roland,



Using the NativePDF method in the new version, if the property value content of DataWindow.Print.DocumentName is null, then the title of the exported PDF file will be null as well and there won't be a Datawindow default value as it did previously.



If you have set this property, then it still follows the previous logic that the exported PDF file will have a corresponding value as its title.
  1. Helpful
  1. Mark Lee @Appeon
  2. Monday, 25 January 2021 02:40 AM UTC
Hi All,



Good news that PowerBuilder 2019 R3 GA (build 2670) is available for download. The issue you reported has been fixed in this release. Please download and install it to verify the issue you reported and let us know if any problems. You can get the installer from our Downloads portal at https://account.appeon.com/download/2019 (login required).



We welcome all feedback from you!



Regards,
  1. Helpful
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Monday, 26 October 2020 12:41 PM UTC
  2. PowerBuilder
  3. # 2

Hi Erick,

it seems that Powerbuilder uses the title that you set for "Document Name" in "Print Specifications" tab.

HTH,

René

Comment
  1. Erick Bergsma
  2. Monday, 26 October 2020 13:20 PM UTC
Thanks Rene.

Currently that field is empty, but I will try and populate it with something and see if there is an impact.
  1. Helpful
  1. René Ullrich
  2. Monday, 26 October 2020 13:53 PM UTC
Yes, if it is empty the title was set to "DataWindow" in my test.
  1. Helpful
  1. Erick Bergsma
  2. Wednesday, 28 October 2020 12:55 PM UTC
Thank you Rene... this worked.

By populating the Document Name, that is what appears in Adobe.

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.