- Posts: 28
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How can I create a custome URL for each survey that includes several id's
- Kevin01
- Topic Author
- Offline
- Junior Member
Less
More
9 years 5 months ago #114532
by Kevin01
How can I create a custome URL for each survey that includes several id's was created by Kevin01
I'd like to create a survey / url that includes a business ID, employee ID, and service date. So a business manager knows who is responsible to the good service.
I thought about creating the URL with all of the fields in the start url but that would create too many combinations. So, I thought the business ID should be in the start url and the employee and date can be passed through, if the pass through data is saved, but I can't determine how to use the panel integration. Can you please help?
Example:
Business ID = 1234
Employee = 46
Date of Service = 11/16/2014
start url: limesurvey.org/survey/index.php/survey/index/sid/929292/en/eb?business=1234&employeeANDdate=4511162014
end url: limesurvey.org/survey/index.php/survey/index/sid/929292/en/1234
Thanks
I thought about creating the URL with all of the fields in the start url but that would create too many combinations. So, I thought the business ID should be in the start url and the employee and date can be passed through, if the pass through data is saved, but I can't determine how to use the panel integration. Can you please help?
Example:
Business ID = 1234
Employee = 46
Date of Service = 11/16/2014
start url: limesurvey.org/survey/index.php/survey/index/sid/929292/en/eb?business=1234&employeeANDdate=4511162014
end url: limesurvey.org/survey/index.php/survey/index/sid/929292/en/1234
Thanks
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
9 years 5 months ago #114616
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic How can I create a custome URL for each survey that includes several id's
HI,
Think the best is to use 3 hidden text question type.
Just add 3 short text question with code business, employee and date. Hide the question.
Start url : /index.php/survey/index/sid/929292/en/eb?business=1234&employee4511&date=162014
End url : endurl/{business}
Think the best is to use 3 hidden text question type.
Just add 3 short text question with code business, employee and date. Hide the question.
Start url : /index.php/survey/index/sid/929292/en/eb?business=1234&employee4511&date=162014
End url : endurl/{business}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Kevin01
The topic has been locked.
- Kevin01
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
9 years 5 months ago - 9 years 5 months ago #114620
by Kevin01
Replied by Kevin01 on topic How can I create a custome URL for each survey that includes several id's
Thanks Denis,
I documented it and got the start url to work. I'll upload the images and documentation for others tomorrow. I have not worked with the end url yet.
example.com/index.php/survey/index/sid/6...9/EID/12/RID/1023456
CID = Client ID
BID = Business ID
Employee ID = EID
RID = Receipt ID
Have a great day,
Kevin
I documented it and got the start url to work. I'll upload the images and documentation for others tomorrow. I have not worked with the end url yet.
example.com/index.php/survey/index/sid/6...9/EID/12/RID/1023456
CID = Client ID
BID = Business ID
Employee ID = EID
RID = Receipt ID
Have a great day,
Kevin
Last edit: 9 years 5 months ago by DenisChenu.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
9 years 5 months ago - 9 years 5 months ago #114628
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic How can I create a custome URL for each survey that includes several id's
Remind to use example.org for url (or .com) : it made for this.
You can use different url system:
But
too.
And if you try to manage route url, even:
Denis
You can use different url system:
Code:
example.com/index.php/survey/index/sid/689956/newtest/Y/lang/en/CID/1/BID/429/EID/12/RID/1023456
Code:
example.com/index.php/survey/index/sid/689956/newtest/Y/lang/en?CID=1&BID=429&EID=12&RID=1023456
And if you try to manage route url, even:
Code:
example.com/689956.html?newtest=Y&CID=1&BID=429&EID=12&RID=1023456
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 9 years 5 months ago by DenisChenu.
The following user(s) said Thank You: Kevin01
The topic has been locked.
- Kevin01
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
9 years 4 months ago - 9 years 4 months ago #114820
by Kevin01
Replied by Kevin01 on topic How can I create a custome URL for each survey that includes several id's
Thanks. I documented the steps that might help someone create a custom url.
Attachments:
Last edit: 9 years 4 months ago by Kevin01.
The following user(s) said Thank You: optiopay
The topic has been locked.