export error in word, excel, pdf, csv

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
danilo.macri
User
Posts: 96

export error in word, excel, pdf, csv

Post 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?


mobhar
User
Posts: 11703

Post by mobhar »

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


danilo.macri
User
Posts: 96

Post by danilo.macri »

it worked for me only after logging in with admin user


arbei
User
Posts: 9356

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


ricoche
User
Posts: 1

Post by ricoche »

Same issue.

Not using User Level Security.

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

Jim


arbei
User
Posts: 9356

Post 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".

Post Reply