Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Limesurvey Import Tool

Limesurvey Import Tool 5 years 6 months ago #54667

  • paulearley
  • paulearley's Avatar
  • Offline
  • Premium Lime
  • Posts: 13
  • Karma: 1
Hello all:
I just wrote a simple tool to allow me to pull a text file with a list of items into a survey group. It runs under Windows only.

I am using it to pull text questions in bulk into my surveys. I thought I would share it with you. It is early in development, and may have no future development, but it has been very helpful in populating my surveys.


Here is the URL: www.earleyconsultancy.com/LimesurveyTools/LimeSurveyImport.zip

Paul Earley
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #54677

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 999
  • Thank you received: 135
  • Karma: 97
Hi Paul,

sounds great. How about uploading this to our tools section?

www.limesurvey.org/en/remository-mainmenu-109/Tools/
Best regards

Carsten Schmitz
LimeSurvey project leader
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #54685

  • paulearley
  • paulearley's Avatar
  • Offline
  • Premium Lime
  • Posts: 13
  • Karma: 1
Hello again Carsten. I am back involved with LS. I will upload the tool today.
Paul
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55177

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
tryed our program but cant make it work, it says error cant import a group that not support main language!

I have swedish but i also tryed with english and still same problem

Any idea how to fix it?

Regards Tony
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55206

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5974
  • Thank you received: 366
  • Karma: 260
I think this might not work when using multilingual surveys.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55212

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
is there something i can do with the file do make it work?
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55224

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5974
  • Thank you received: 366
  • Karma: 260
I didn't develop that feature so I can't help much.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55275

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
anyone got this to work with multilingual?

Regards Tony
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55320

  • paulearley
  • paulearley's Avatar
  • Offline
  • Premium Lime
  • Posts: 13
  • Karma: 1
Sorry I did not test importing into another language. Give me several days to see if I can repair the problem. Just to be sure I understand the problem: when you press the button to create the import file, it seems to work without an error, but when you go to import into LimeSurvey the "language error" appears. Is this correct?

I do not have any current plans to create a multilingual version of the application itself, but if I hear of several requests, I will look into it.

Paul Earley
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55322

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
Hi!
Yes theres no problem with the program it self but when i try import it says the language problem ( when i look in the file and compare with the orginal file that you made it looks exactly the same but for me it says sv ( swedish )instead of en ( english ) so the program makes it to swedish but as i said dont work import it on the newest version or the version before it.

/Tony
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55325

  • paulearley
  • paulearley's Avatar
  • Offline
  • Premium Lime
  • Posts: 13
  • Karma: 1
Give me a couple of days, I will see what I can do.
Paul
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55326

  • paulearley
  • paulearley's Avatar
  • Offline
  • Premium Lime
  • Posts: 13
  • Karma: 1
Could you give me the EXACT error message from Limesurvey? And which version of Limesurvey you are using?
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 6 months ago #55350

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
Filen laddades upp.

Läser fil..


Fel

Du kan inte importera en grupp som inte stöder den nuvarande enkätens huvudspråk.


In english:
File upload succeeded.

Reading file..


Error

You can't import answers which doesn't support at least the survey base language.


Running this version now:
limesurvey191RC2-build9672-20110111


Same problem with this version:
1.90+
Last Edit: 5 years 6 months ago by heso.
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 5 months ago #56082

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
have you found something i can do to make it work?
The administrator has disabled public write access.

Limesurvey Import Tool 5 years 5 months ago #56085

  • heso
  • heso's Avatar
  • Offline
  • Senior Lime
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
# LimeSurvey Group Dump
# DBVersion 142
# This is a dumped group from the LimeSurvey Script
# www.limesurvey.org/
# Do not change this header!

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"12","99999","etikett","0", "Etikettmaskiner","sv"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"100","99999","12","Y","A1","Använder ni någon typ av Etikettmaskin för Märkning i Er produktionslinje idag?",,,N,N,"0","0","0","sv"
"101","99999","12","M","A2","Vilken/Vilka huvudgrupper av etikettering använder ni?",,,N,N,"0","0","1","sv"
"102","99999","12","M","A3","På vad använder ni etikett?",,,N,N,"0","0","2","sv"
"103","99999","12","L","A4","Hur många etikettmaskiner har ni totalt på företaget?",,,N,N,"0","0","3","sv"
"104","99999","12","L","A5","Hur många produktionslinjer har ni idag?",,,N,N,"0","0","4","sv"
"105","99999","12","Y","A6","Planerar ni att investera i någon typ av Etikettmaskin?",,,N,N,"0","0","5","sv"
"106","99999","12","M","A7","Vad gäller det?",,,N,N,"0","0","6","sv"
"107","99999","12","L","A8","Hur många maskiner gäller det?",,,N,N,"0","0","7","sv"
"108","99999","12","L","A9","Hur långt har ni kommit i beslutsprocessen?",,,N,N,"0","0","8","sv"
"109","99999","12","","A10","",,,N,N,"0","0","9","sv"
"110","99999","12","","A11","",,,N,N,"0","0","10","sv"

#
# ANSWERS TABLE
#
"qid","code","answer","default_value","assessment_value","sortorder","language"
"75","1","Actual patient","N","1","1","en"
"75","2","Training or testing assessment","N","0","2","en"

#
# conditions TABLE
#

#
# LABELSETS TABLE
#

#
# LABELS TABLE
#

#
# QUESTION_ATTRIBUTES TABLE
#
"qaid","qid","attribute","value"
"951","75","alphasort","0"
"952","75","category_separator",""
"953","75","hide_tip","0"
"954","75","hidden","0"
"955","75","other_comment_mandatory","0"
"956","75","other_replace_text",""
"957","75","page_break","0"
"958","75","public_statistics","0"
"959","75","random_order","0"
"960","75","scale_export","0"
"932","74","display_rows",""
"933","74","hidden","0"
"934","74","maximum_chars",""
"935","74","numbers_only","0"
"936","74","page_break","0"
"937","74","prefix",""
"938","74","suffix",""
"939","74","text_input_width",""
"940","74","time_limit",""
"941","74","time_limit_action","1"
"942","74","time_limit_message",""
"943","74","time_limit_message_delay",""
"944","74","time_limit_disable_next","0"
"945","74","time_limit_message_style",""
"946","74","time_limit_timer_style",""
"947","74","time_limit_warning",""
"948","74","time_limit_warning_display_time",""
"949","74","time_limit_warning_message",""
"950","74","time_limit_warning_style",""
"913","73","display_rows",""
"914","73","hidden","0"
"915","73","maximum_chars",""
"916","73","numbers_only","0"
"917","73","page_break","0"
"918","73","prefix",""
"919","73","suffix",""
"920","73","text_input_width",""
"921","73","time_limit",""
"922","73","time_limit_action","1"
"923","73","time_limit_message",""
"924","73","time_limit_message_delay",""
"925","73","time_limit_disable_next","0"
"926","73","time_limit_message_style",""
"927","73","time_limit_timer_style",""
"928","73","time_limit_warning",""
"929","73","time_limit_warning_display_time",""
"930","73","time_limit_warning_message",""
"931","73","time_limit_warning_style",""
"908","72","dropdown_dates","0"
"909","72","dropdown_dates_year_min",""
"910","72","dropdown_dates_year_max",""
"911","72","hidden","0"
"912","72","page_break","0"
The administrator has disabled public write access.
The following user(s) said Thank You: paulearley
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.259 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form