Alternatives to the LimeSurvey import function/nl: Difference between revisions
From LimeSurvey Manual
No edit summary |
(Created page with "Je kunt hiermee dus bestaande enquêtes van een vorige versie importeren. Bij het importeren worden de enquêtes, vragengroepen, vragen, antwoorden en condities opnieuw genumm...") |
||
Line 9: | Line 9: | ||
*vanaf versie v1.90 .LSS aangemaakt door LimeSurvey | *vanaf versie v1.90 .LSS aangemaakt door LimeSurvey | ||
Je kunt hiermee dus bestaande enquêtes van een vorige versie importeren. Bij het importeren worden de enquêtes, vragengroepen, vragen, antwoorden en condities opnieuw genummerd, waarbij de onderlinge samenhang natuurlijk blijft bestaan. Ook wordt geen bestaande enquête overschreven. Lees [[Exporting a survey structure/nl|exporteren]] voor meer informatie. | |||
=Import using the commandline utility= | =Import using the commandline utility= |
Revision as of 10:22, 12 June 2013
Importeren via het administratie scherm
Als je al eerder een enquête (de structuur) hebt geëxporteerd, dan kun je deze weer importeren op het "Maak, importeer of kopieer enquête" scherm. Klik op de knop "Importeer gegevens" en vervolgens op de knop "Bladeren" om het bestand op te zoeken, en klik dan op de knop "Importeer enquête". De mogelijke bestandsformaten zijn:
- lsa, txt
- vanaf versie v1.50 .CSV aangemaakt door LimeSurvey
- vanaf versie v1.90 .LSS aangemaakt door LimeSurvey
Je kunt hiermee dus bestaande enquêtes van een vorige versie importeren. Bij het importeren worden de enquêtes, vragengroepen, vragen, antwoorden en condities opnieuw genummerd, waarbij de onderlinge samenhang natuurlijk blijft bestaan. Ook wordt geen bestaande enquête overschreven. Lees exporteren voor meer informatie.
Import using the commandline utility
Since version 1.50 it is possible to import surveys from the command line (or shell). To use this functionality you have 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, in the shell go to the limesurvey/admin folder and execute:
php cmdline_importsurvey <File to import> [<user> <password>]
- <File to import> has to be one of the described above
- <user> has to be a user with the right to create surveys
- <password> the password for the user
*<user> and <password> are only required if the control access is active
If you need to see the parameters you can execute:
php cmdline_importsurvey -h
Importing surveys from other applications
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 from SurveyMonkey, only the response data. So you can see that using non-open propietary software or providers can be a bad idea in the first place.