x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

Alternatives to the LimeSurvey import function: Difference between revisions

From LimeSurvey Manual

Cdorin (talk | contribs)
m Cdorin moved page Importing a survey structure to Alternatives to the LimeSurvey import function without leaving a redirect
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
<!--T:1-->
__TOC__


=Import using the commandline utility= <!--T:5-->
 
<!--T:16-->
The following page presents alternatives to the LimeSurvey import function.
 
=Import using the commandline utility= <!--T:1-->  


<!--T:6-->
<!--T:6-->
Line 13: Line 15:


<!--T:8-->
<!--T:8-->
To use it, go to the limesurvey/admin folder in the shell and execute:
To use it, go to the "limesurvey/admin" folder in the shell and execute:


<!--T:9-->
<!--T:9-->
Line 19: Line 21:


<!--T:14-->
<!--T:14-->
*<File to import> has to be one of the described above;
*'''<File to import>:''' has to be the one you wish to import.
*<user> has to be a user with permission to create surveys;
*'''<user>:''' has to be a user that holds the permission to create surveys.
*<password> the password for the user;
*'''<password>:''' the password for the user.


<!--T:10-->
<!--T:10-->
Line 32: Line 34:
Since LimeSurvey version 2.0, you can import a survey structure by using the [[RemoteControl_2_API|RemoteControl 2 API]].
Since LimeSurvey version 2.0, you can import a survey structure by using the [[RemoteControl_2_API|RemoteControl 2 API]].


=Importing surveys from other applications= <!--T:12-->
=Import surveys from other applications= <!--T:12-->


<!--T:13-->
<!--T:13-->
We are often getting requests to import a survey from other applications or survey providers. The problem is that providers (like SurveyMonkey) lock you in - it is not possible to export the survey structure (e.g. from SurveyMonkey), but only the response data.  
We often get requests to import a survey from other applications or survey providers. The problem is that providers (like SurveyMonkey) lock you in - it is not possible to export the survey structure (e.g. from SurveyMonkey), but only the response data.  
</translate>
</translate>

Latest revision as of 17:02, 8 June 2018


The following page presents alternatives to the LimeSurvey import function.

Import using the commandline utility

From version 1.50 to 1.92 it was possible to import surveys from the command line (or shell). To use this functionality, you need to have access to the shell and the PHP interpreter has to be configured to allow shell execution of scripts.

This functionality is useful when you have timeout problems with the web version that could happen when you have very long surveys to import.

To use it, go to the "limesurvey/admin" folder in the shell and execute:

php cmdline_importsurvey <File to import> [<user> <password>]
  • <File to import>: has to be the one you wish to import.
  • <user>: has to be a user that holds the permission to create surveys.
  • <password>: the password for the user.

If you need to see the parameters, you can execute:

php cmdline_importsurvey -h

Import using RemoteControl API

Since LimeSurvey version 2.0, you can import a survey structure by using the RemoteControl 2 API.

Import surveys from other applications

We often get requests to import a survey from other applications or survey providers. The problem is that providers (like SurveyMonkey) lock you in - it is not possible to export the survey structure (e.g. from SurveyMonkey), but only the response data.