Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

hook to PDF response export activity

  • tassoman
  • tassoman's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 7 months ago - 2 years 7 months ago #228301 by tassoman
hook to PDF response export activity was created by tassoman
Your LimeSurvey version: 3.X
==================
Hello there, I'm trying to write a plugin who lets the participant to downoad himself his response exactly as if he clicked "Export PDF" inside admin area (but he can't login to admin area).
Is there an export event to hook to? Is there any helper to call inside my plugin's method?



I was reading at PDF class but I don't think is so useful. We have also pdfWriter class but I can't understand it. Any help is appreciated.

«All your survey answers are belong to us »
Last edit: 2 years 7 months ago by tassoman.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 7 months ago #228388 by DenisChenu
Replied by DenisChenu on topic hook to PDF response export activity
Export in newDirectRequest : gitlab.com/SondagesPro/managament/respon...tAndManage.php#L1049
Another way : gitlab.com/SondagesPro/ExportAndStats/Re...portInEmail.php#L304

You know how to get the current srid (by session)

I need to construct a export system with reloadAnyResponse (with accesscode).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: tassoman

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose