Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Survey ID creation difference in 2.0 ??

Survey ID creation difference in 2.0 ?? 3 years 10 months ago #92408

  • aukevann
  • aukevann's Avatar
  • Offline
  • Senior Lime
  • Posts: 61
  • Thank you received: 1
  • Karma: 1
Hi all,

In LimeSurvey 1.92 I create many version of the same survey.
To recognize these (I have Excel macro's that extract the data from LimeSurvey) it is important to me that I can determine the Survey_ID when I create a new survey. In 1.92 I do this by exporting the survey, changing the ID in the exported file then importing again. This way the new survey has the new ID.

However, I now find out that this does not work in 2.0. When I import is assignes another number.
Help, this is really a problem for the way we use this.
Can anybody explain why this is different?
Does anybody know how we can choose the Survey_ID ourselves in 2.0?

The administrator has disabled public write access.

Survey ID creation difference in 2.0 ?? 3 years 9 months ago #92526

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390

With a lss file, i test export from LS 1.92, the survey id are 10000.
Import in 2.0 (last GIT version, near last build).

And the surveyid are not modified.

Maybe only if sid > 10000 ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.481 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form