Actions

Alternative la funcția de import LimeSurvey

From LimeSurvey Manual

Revision as of 17:13, 25 October 2023 by Maren.fritz (talk | contribs) (Created page with "Din versiunea 1.50 până la 1.92 a fost posibil să se importe chestionare din linia de comandă (sau shell). Pentru a utiliza această funcționalitate, trebuie să aveți a...")


Următoarea pagină prezintă alternative la funcția de import LimeSurvey.

Importă folosind utilitarul de linie de comandă

Din versiunea 1.50 până la 1.92 a fost posibil să se importe chestionare din linia de comandă (sau shell). Pentru a utiliza această funcționalitate, trebuie să aveți acces la shell, iar interpretul PHP trebuie configurat pentru a permite executarea script-urilor.

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.