- Posts: 14
- Thank you received: 3
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Automating Export of Limesurvey Responses
- Luke
- Offline
- New Member
Less
More
9 years 4 months ago #115029
by Luke
Replied by Luke on topic Automating Export of Limesurvey Responses
"it" is my script, not my message. I wrote the script over 3 years ago
The topic has been locked.
- c_schmitz
- Offline
- LimeSurvey GmbH Employee
Less
More
- Posts: 302
- Thank you received: 84
9 years 4 months ago #115032
by c_schmitz
Best regards
Carsten Schmitz
LimeSurvey project leader
Replied by c_schmitz on topic Automating Export of Limesurvey Responses
Ah ok
Best regards
Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 4 months ago #115060
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Automating Export of Limesurvey Responses
Luke, can you let us know with which Limesurvey versions your script works?
Do you always have to call the script manually or can it also be set up as a daily cron job?
Do you always have to call the script manually or can it also be set up as a daily cron job?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- Luke
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 3
9 years 4 months ago - 9 years 4 months ago #115305
by Luke
Replied by Luke on topic Automating Export of Limesurvey Responses
I customized LS code for the purpose of one of my projects. LS version I used was:
$versionnumber = "1.90+";
$dbversionnumber = 143;
$buildnumber = '9343';
This was around 3 years ago, my data download script has been running as a cron job since then. Have not had a single problem with it.
Luke
$versionnumber = "1.90+";
$dbversionnumber = 143;
$buildnumber = '9343';
This was around 3 years ago, my data download script has been running as a cron job since then. Have not had a single problem with it.
Luke
Last edit: 9 years 4 months ago by Luke.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 4 months ago #115315
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Automating Export of Limesurvey Responses
Thanks for these details, Luke.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- mercuralchapman
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
9 years 2 weeks ago #119009
by mercuralchapman
Replied by mercuralchapman on topic Automating Export of Limesurvey Responses
I'm interested in automating survey response exports and sending via email using the API but I really have no idea how to get started. Has anyone done this or would you be willing to create something I could run through a cron job?
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 1 month ago #132854
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Automating Export of Limesurvey Responses
We have recently coded a custom export script which can be called using a certain link. At that link you can adjust the survey ID so it can be used for several surveys and within the script you can define the export format that should be used.
The script creates a simple "download responses" link the user can click and then the download starts.
That link can also be embedded e.g. at the confirmation or admin email.
The script creates a simple "download responses" link the user can click and then the download starts.
That link can also be embedded e.g. at the confirmation or admin email.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: clj
The topic has been locked.
- first
- Offline
- Elite Member
Less
More
- Posts: 227
- Thank you received: 36
8 years 5 days ago #135048
by first
Survey Designer and Programmer
Replied by first on topic Automating Export of Limesurvey Responses
Dont we have any method in remote control api to read whole survey data of a specific respondent?
Survey Designer and Programmer
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 5 days ago #135050
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Automating Export of Limesurvey Responses
Such a function exists: "export_responses()" can use a from ID to ID condition.
-> api.limesurvey.org/classes/remotecontrol...hod_export_responses
-> api.limesurvey.org/classes/remotecontrol...hod_export_responses
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: first
The topic has been locked.
- clj
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
7 years 11 months ago #135513
by clj
Replied by clj on topic Automating Export of Limesurvey Responses
Glad to see finally a simple solution for response automated export, where can we find this script?Mazi wrote: We have recently coded a custom export script which can be called using a certain link. At that link you can adjust the survey ID so it can be used for several surveys and within the script you can define the export format that should be used.
The script creates a simple "download responses" link the user can click and then the download starts.
That link can also be embedded e.g. at the confirmation or admin email.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
7 years 11 months ago #135517
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Automating Export of Limesurvey Responses
This was custom coded for a customer back then so I can't share any code details. But using the Limesurvey API it should not be too difficult to develop something like that.
If there is a certain demand we may be able to re-code the custom script to provide a generic solution, maybe as a plugin.
If anyone is interested in this please let me know and share which Limesurvey version you are using.
If there is a certain demand we may be able to re-code the custom script to provide a generic solution, maybe as a plugin.
If anyone is interested in this please let me know and share which Limesurvey version you are using.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- clj
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
7 years 11 months ago #135540
by clj
Replied by clj on topic Automating Export of Limesurvey Responses
I think automated responses export is quit useful in case of responses data collect/analyse by a third application, this could be an important interface between LS and backend applications.
I'm actually trying to integrate every survey response automatically into another information system (pdf format required), i'm not familiar with api dev, could you please provide some code exemples or references for this case ?
LS version: 2.06
I'm actually trying to integrate every survey response automatically into another information system (pdf format required), i'm not familiar with api dev, could you please provide some code exemples or references for this case ?
LS version: 2.06
The topic has been locked.