Actions

Alternatives to the LimeSurvey import function/de: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />
Der Import-Prozess liest die folgenden Formate:
*.LSS-Dateien (XML-Format, das von LimeSurvey 1.90 oder neuer erstellt wird)
*.LSA Dateien (Umfrage-Archiv, das auch Token, Antworten und Timings beinhalten kann - verfügbar seit LimeSurvey 2.0)
*.TXT-Dateien (Von Excel erstelltes Text-Format - verfügbar seit LimeSurvey 2.0)
*.CSV-Dateien (Erstellt von frühen LimeSurvey-Versionen 1.50-1.90)
=Import using the commandline utility=  
=Import using the commandline utility=  


Line 6: Line 14:
Diese Funktion war nützlich, wenn Sie z.B. Probleme mit Timeout in der GUI hatten, wenn man sehr große Umfragen importieren will.
Diese Funktion war nützlich, wenn Sie z.B. Probleme mit Timeout in der GUI hatten, wenn man sehr große Umfragen importieren will.


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:


  <code>php cmdline_importsurvey <File to import> <nowiki>[</nowiki><user> <password>]</code>
  <code>php cmdline_importsurvey <File to import> <nowiki>[</nowiki><user> <password>]</code>


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


If you need to see the parameters, you can execute:
If you need to see the parameters, you can execute:
Line 23: Line 31:
=Umfrage aus anderen Applikationen importieren=
=Umfrage aus anderen Applikationen importieren=


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.

Revision as of 13:25, 6 February 2018


Der Import-Prozess liest die folgenden Formate:

  • .LSS-Dateien (XML-Format, das von LimeSurvey 1.90 oder neuer erstellt wird)
  • .LSA Dateien (Umfrage-Archiv, das auch Token, Antworten und Timings beinhalten kann - verfügbar seit LimeSurvey 2.0)
  • .TXT-Dateien (Von Excel erstelltes Text-Format - verfügbar seit LimeSurvey 2.0)
  • .CSV-Dateien (Erstellt von frühen LimeSurvey-Versionen 1.50-1.90)

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.

Diese Funktion war nützlich, wenn Sie z.B. Probleme mit Timeout in der GUI hatten, wenn man sehr große Umfragen importieren will.

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.

Umfrage aus anderen Applikationen importieren

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.