- Posts: 14
- Thank you received: 5
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
manually create survey id when creating a new survey
- QuoTil
- Topic Author
- Offline
- New Member
Less
More
5 years 7 months ago #173275
by QuoTil
manually create survey id when creating a new survey was created by QuoTil
using 3.14.8+180829
I need to re-initiate a survey under a specific survey id. The reason is that I absolutely must reuse the url of a previous survey. How can I do/ hack this?
It is very important. Please help.
I need to re-initiate a survey under a specific survey id. The reason is that I absolutely must reuse the url of a previous survey. How can I do/ hack this?
It is very important. Please help.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 7 months ago #173276
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic manually create survey id when creating a new survey
You can assign a certain ID via copy and import.QuoTil wrote: I need to re-initiate a survey under a specific survey id.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
5 years 7 months ago #173296
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic manually create survey id when creating a new survey
Great idea Jelo. But will this work if the ID was given to another survey before? If the survey still exists I am sure it won't, but what if the survey has been deleted, then it would work?
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 7 months ago #173297
by jelo
If a survey is already using the ID, you cannot share it with another survey.
If the ID is not used, you can use the ID. Doesn't matter if it was used before.
In the old days, where no copy function was available, we just modified the LSS export and replaced the IDs via a text-editor. That way you still can control which ID is used as survey id (as long as it is available). The survey id can be found in the <sid><![CDATA[12345]]></sid> tags.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic manually create survey id when creating a new survey
You need a free weekend without market research and without LimeSurveyholch wrote: But will this work if the ID was given to another survey before? If the survey still exists I am sure it won't, but what if the survey has been deleted, then it would work?
If a survey is already using the ID, you cannot share it with another survey.
If the ID is not used, you can use the ID. Doesn't matter if it was used before.
In the old days, where no copy function was available, we just modified the LSS export and replaced the IDs via a text-editor. That way you still can control which ID is used as survey id (as long as it is available). The survey id can be found in the <sid><![CDATA[12345]]></sid> tags.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
5 years 7 months ago #173299
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic manually create survey id when creating a new survey
Only a few hours left.You need a free weekend without market research and without LimeSurvey
This is what I said.If a survey is already using the ID, you cannot share it with another survey.
Good to know. Sometimes applications reserve IDs like this and you can NOT use them again, which is why I asked. As I never had to do this, I have no experience how this works in LS. Good to know that it will work, as long as no other survey is currently using the same ID.If the ID is not used, you can use the ID. Doesn't matter if it was used before.
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 7 months ago #173302
by jelo
Since LimeSurvey is lack a of real review mode, keeping the ID static is not seldom the case.
You need to activate to check, you need to deactivate to change. If you have different reviewers you always need more than one copy.
To modify the URL without relation to the surveyid will be a another idea.
bugs.limesurvey.org/view.php?id=13836
bugs.limesurvey.org/view.php?id=8239
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic manually create survey id when creating a new survey
Yepp, but Captain Obvious.holch wrote: This is what I said.
Since LimeSurvey is lack a of real review mode, keeping the ID static is not seldom the case.
You need to activate to check, you need to deactivate to change. If you have different reviewers you always need more than one copy.
To modify the URL without relation to the surveyid will be a another idea.
bugs.limesurvey.org/view.php?id=13836
bugs.limesurvey.org/view.php?id=8239
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
5 years 7 months ago #173315
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic manually create survey id when creating a new survey
Correct, but I wanted to avoid stupid questions / answers about exactly this topic. You managed to put it anyway...Yepp, but Captain Obvious.
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.