Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Way to export survey from LS5 and import to LS3?

  • jsibley
  • jsibley's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 1 month ago #220205 by jsibley
For testing purposes, I'd like to export a survey from a recently update LS5 and, unfortunately, I thought I had an exported version from LS3 before I ran the comfort update, but I'm not finding one.

Is there a way to export from LS5 and import into LS3, recognizing that this is just a short-term solution?

Thank you.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 1 month ago #220207 by holch
No, not that I am aware of. The database structure and thus the structure of the LSS file has changed.

Maybe exporting as text works, but I have no experience with this.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 1 month ago - 3 years 1 month ago #220213 by DenisChenu
Replied by DenisChenu on topic Way to export survey from LS5 and import to LS3?
You can use TSV (text separator value) export, wityh some update on the file

1. Export TSV
2. Edit (with libreoffice calc if poissble)
3. Remove the 2 1st column (id and related id)
4. Review the line with S for class : there are | or inherit etc ? you must update to Y, N etc …
5. Import

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 3 years 1 month ago by DenisChenu.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 7 months ago #241730 by Mazi
 
Since I recently faced the same challenge of importing a survey created with Limesurvey v 5.x into an older 3.x version, I am sharing my solution:
  1. Export the survey at LS 5.x as tab separated value format
  2. Open the TXT file with a text editor
  3. Remove these two rows:
    1. ipanonymize
    2. tokenencryptionoptions
  4. Save as TXT file
  5. Import at LS 3.x
Depending on your survey structure and complexity, there could be further challenges to solve.
For me this worked for a multilingual survey with ~80 questions.
 

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 7 months ago #241760 by DenisChenu
Replied by DenisChenu on topic Way to export survey from LS5 and import to LS3?

 
Export the survey at LS 5.x as tab separated value format
  1. Open the TXT file with a text editor
  2. Remove these two rows:
    1. ipanonymize
    2. tokenencryptionoptions
  3. Save as TXT file
  4. Import at LS 3.
I don't do 2.1 and 2.2 BUT : i set all settings to something other than inherit. (and i delete the 2 1st columns)

Alternative solution (for monlingual survey): export as TXT a 3.X file, replace all S Class (start of file) by the one of the 3.X file.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 6 months ago #243135 by Mazi
Yes, not having any survey setting at the 5.x survey using "inherit" is important. You should switch these to different values before exporting.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: DenisChenu
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose