Page 1 of 1

export error in word, excel, pdf, csv

Posted: Tue Oct 04, 2022 12:19 am
by danilo.macri

I am creating a new project but after enabling the export in
the list page and enabling the related extension, the export does not
work. I have scrupulously followed your guids and there are no errors
in the generation of the cosice. in the address bar I have this link
and the page remains blank

blob:http://localhost/1e4cd26a-bb14-4b6d-8909-35806bdd1fa1

help me?


Re: 1 di 1.040 export error in word, excel, php, csv

Posted: Tue Oct 04, 2022 8:15 am
by mobhar

Please read Export API topic from the documentation for more info. This is one of the fundamental changes in PHPMaker v2023.


Re: export error in word, excel, php, csv

Posted: Tue Oct 04, 2022 11:49 pm
by danilo.macri

it worked for me only after logging in with admin user


Re: 1 di 1.040 export error in word, excel, php, csv

Posted: Wed Oct 05, 2022 10:06 am
by arbei
  1. You may read Export API:

    If you use User Level Security, note that the Export permission is added. If you use Static User Levels, make sure you update your permissions in the project before generating scripts. If you use Dynamic User Levels, make sure you login as Adminitrator to the generated site after first generation and update the User Level permissions for each User Level.

  2. You may check HTTP response to find the actual error message.


Re: export error in word, excel, pdf, csv

Posted: Fri Oct 21, 2022 8:22 am
by ricoche

Same issue.

Not using User Level Security.

Export API is not relevant if not using User Level Security.

Jim


Re: export error in word, excel, pdf, csv

Posted: Fri Oct 21, 2022 10:20 am
by arbei
  1. Export API is relevant, it is used by the generated scripts itself. Export API introduces Export permission, if the user does not have export permission, he/she cannot export.
  2. If security (login) is enabled but Use Level Security is not used, you still need to configure the default permissions for Anonymous users, read User Level, look for "Security enabled but with no User Level Security enabled".