Actions

Alternatieven voor de functie Importeren

From LimeSurvey Manual

Revision as of 13:25, 6 February 2018 by FuzzyBot (talk | contribs) (Updating to match new version of source page)


De mogelijke bestandsformaten zijn:

  • .LSS (XML-formaat vanaf versie 1.90)
  • .LSA (Survey archive die ook tokens, responses en timings kunen bevatten - vanaf versie 2.0)
  • .TXT (Text-formaat, aangemaakt in EXCEL vanaf 2.0)
  • .CSV (versies vanaf 1.50 t/m 1.90)

Importeren via de commandoregel

Vanaf versie 1.50 t/m versie 1.92 was het mogelijk om via de commandoregel (shell) enquêtes te importeren. Je moet toegang hebben tot de shell en ook moet PHP zo zijn ingesteld dat het uitvoeren van scripts via de shell toegestaan is.

Deze functie is nuttig als je bij het importeren via het administratiescherm (hierboven beschreven) time-out problemen krijgt omdat de te importeren enquête erg groot is.

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

php cmdline_importsurvey <te importeren bestand> [<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.

Als je de parameters wilt zien, tik dan in:

php cmdline_importsurvey -h

Importeren met gebruik van RemoteControl API

Vanaf versie 2.0 kun je een enquête-structuur importeren met de RemoteControl 2 API.

Importeren van andere applicaties

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.