- Posts: 305
- Thank you received: 24
Mass import survey
I had to export several hundred questions (1100), on the list of surveys (in lss or lsa).
No problem, you can export several at once (or on several pages).
On the other hand, I had to re-import more than 400 surveys, and they have to be done one part one.

Is it possible to develop the same possibility for the import?

When you develop the mass export can you also plan a mass import? (not only for surveys , but for other functionalities (ex: models)
Thank you.
LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13987
- Thank you received: 2475
Seems a goof feature request

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Please Log in to join the conversation.
LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13987
- Thank you received: 2475
api.limesurvey.org/classes/remotecontrol...method_import_survey seems to know LSA
And read a directory + use the functuion i n a foreach loop seems to be «easy»
manual.limesurvey.org/RemoteControl_2_API#Example_and_helper
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Please Log in to join the conversation.
I recommend to submit a feature request and post the link here.riqcles wrote: Is it possible to develop the same possibility for the import?
An mass import feature via GUI and API would be fine.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13987
- Thank you received: 2475
My opinion :
1. via GUI can be difficult because a lot of server are limited in file size. Then create a system that broke on a lot of server …
2. via API : we already have import oine by one : a loop can easily be done via the API tool
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Please Log in to join the conversation.
If you use server limits and common server configurations as a reason to not implement a feature, the selfhosting edition itself can be abolished.DenisChenu wrote: 1. via GUI can be difficult because a lot of server are limited in file size. Then create a system that broke on a lot of server …
LimeSuvey needs a filemanager per user, not per theme or survey. There needs to be an abstraction since you cannot allow users to access the real folders. To separate uploading/downloading from the generation process of files is needed to allows autoexports of reports and mass import of files. First upload all LSS via the user filemanager and than import them. That way timeouts and issues can be reduced.
The first simple step would be allow to select a local folder in the GUI to allow mass import Massimport is mostly needed when moving installations. So a simple way to define a local import/export folder would help administrators.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in to join the conversation.
bugs.limesurvey.org/view.php?id=16913
i add something more :
I noticed that when restoring an active survey , which contains backups, the backup table is not updated and users cannot resume the saved quiz.
For this detail, we consider it in the feature request, or do I make a bug?
I had to do this for example to restore access to the user.
INSERT INTO public.lime_saved_control (
scid, sid, srid, identifier, access_code, email, ip, saved_thisstep, status, saved_date, refurl)
VALUES ('10890', '524553', '40', 'FANCHE', 'a6d928652acfc9577b2bd411068f9f3c7693a1537f2433c4bc8326b2230fcf9e', '', '', '5', 'S', '202046', '5', 'S', '202046', '14:51:1 www.limesurvey.fr/index.php/524553?lang=fr ');
But if I take the case of an administrator who does not have access to the database, this action is impossible.

LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13987
- Thank you received: 2475
New (and separate) feature request … it's the Survey Archive system, not API.
Else @jelo : you'r totally right. Sorry

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Please Log in to join the conversation.
LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.
LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
- Posts: 13987
- Thank you received: 2475
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Please Log in to join the conversation.

LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.

watch the captures
idea:
put a message to indicate to delete the .bak after import.
LimeSurvey version 3.22.19
OS : CentOS 7.8 / PHP 7.2.31
BDD : PostGresql 10.8 /
Please Log in to join the conversation.