Accueil arrow Support arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Labelset import rules (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Labelset import rules
#21316
simonx (User)
Senior Lime
Posts: 76
graphgraph
User Offline Click here to see the profile of this user
Labelset import rules 1 Month, 2 Weeks ago Karma: 2  
Dear All,
Can anyone tell me what rules are used for importing labelsets from csv, with regard to existing sets?
E.g.
Existing labelset with lid=1, title=Labelset1
a) import file has labelset with lid=1, title=Labelset1 and same labels
b) import file has labelset with lid=1, title=Labelset1 and different labels
c) import file has labelset with lid=1, title=Labelset2 and different labels
d) import file has survey with Q using lid=1, labelset with lid=1, title=Labelset1 and same labels
e) import file has survey with Q using lid=1, labelset with lid=2, title=Labelset2 and different labels

Do I always have to include the labelsets in a survey/group/question import file?
Can the import choose to use an existing labelset if the lid is the same?

TIA
Simon.
 
Logged Logged  
 
Last Edit: 2008/11/20 11:46 By simonx.
 
Cheers,
Simon.
  The administrator has disabled public write access.
#21321
c_schmitz (Admin)
Moderator Lime
Posts: 1384
graphgraph
User Online Now Click here to see the profile of this user
Re:Labelset import rules 1 Month, 2 Weeks ago Karma: 39  
Hi!

As soon as an existing matching label (label set has to be exactly the same except ID) set is found on import it will be used instead, no matter what ID the one from the survey had. The label set IDs from the importing survey are adjusted accordingly.
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
#21357
simonx (User)
Senior Lime
Posts: 76
graphgraph
User Offline Click here to see the profile of this user
Re:Labelset import rules 1 Month, 2 Weeks ago Karma: 2  
Thanks Carsten...
So an existing labelset will never be overwritten?
Subsequently, I suppose there is no way to replace the contents of labelset by import? An example could be if a set of 50 needs changing and you have 50 (inactive of course) surveys where the labelset is used 50 times.. It could happen!
 
Logged Logged  
 
Cheers,
Simon.
  The administrator has disabled public write access.
Go to top