1. · Dainis
  2. PowerBuilder
  3. Saturday, 3 February 2018 07:05 AM UTC

Version 5.1.5, uf_save_dw_as_excel returns 1, file saved, but no file there. Desta Support does not answer. Any ideas?

Marco Meoni Accepted Answer Pending Moderation
  1. Saturday, 3 February 2018 09:46 AM UTC
  2. PowerBuilder
  3. # 1

Hi Dainis,

please check what folder are you saving the file to. Since return code is 1, I assume you have write permissions.

Please be aware that, unless you specify a precise destination folder, default Appeon Web output dir is AppeonGetCacheDir(), which corresponds to C:\Users\\AppData\Roaming\appeon\.

I usually write files (either Appeon Web and Mobile) this way:

ls_dir =  AppeonGetCacheDir() + '/plugin/'
ls_file = ls_dir + 'myfile.xls'
// now save to ls_file

Cheers,

Marco

Comment
  1. · Dainis
  2. Monday, 5 February 2018 07:07 AM UTC
Hi Marco,



I save 2 files, pdf and xls. Pdf is in place but xls not. Have you used Desta dw2xls with Appeon Web?



Cheers,

Dainis
  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.