Actions

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

From LimeSurvey Manual

(Created page with "Per usarlo, vai nella cartella "limesurvey/admin" nella shell ed esegui:")
(Created page with "<code>php cmdline_importsurvey [ ]</code><File to import><nowiki> <code>php cmdline_importsurvey [ ]</code></nowiki><user><password> <code>php cmdline_importsurvey [ ]</code>")
Line 12: Line 12:
Per usarlo, vai nella cartella "limesurvey/admin" nella shell ed esegui:
Per usarlo, vai nella cartella "limesurvey/admin" nella shell ed esegui:


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


*'''<File to import>:''' has to be the one you wish to import.
*'''<File to import>:''' has to be the one you wish to import.

Revision as of 07:50, 27 July 2023


La pagina seguente presenta alternative alla funzione di importazione di LimeSurvey.

Importa utilizzando l'utilità della riga di comando

Dalla versione 1.50 alla 1.92 era possibile importare i rilievi dalla riga di comando (o dalla shell). Per utilizzare questa funzionalità, è necessario avere accesso alla shell e l'interprete PHP deve essere configurato per consentire l'esecuzione di script da parte della shell.

Questa funzionalità è utile quando si hanno problemi di timeout con la versione web che potrebbero verificarsi quando si hanno sondaggi molto lunghi da importare.

Per usarlo, vai nella cartella "limesurvey/admin" nella shell ed esegui:

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

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