How can I create a custome URL for each survey that includes several id's

More
3 years 3 weeks ago #114532 by Kevin01
Kevin01 created the topic: How can I create a custome URL for each survey that includes several id's
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

Please Log in to join the conversation.

More
3 years 3 weeks ago #114616 by DenisChenu
DenisChenu replied the 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}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: Kevin01

Please Log in to join the conversation.

More
3 years 3 weeks ago - 3 years 3 weeks ago #114620 by Kevin01
Kevin01 replied the 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
Last Edit: 3 years 3 weeks ago by DenisChenu.

Please Log in to join the conversation.

More
3 years 3 weeks ago - 3 years 3 weeks ago #114628 by DenisChenu
DenisChenu replied the 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:
example.com/index.php/survey/index/sid/689956/newtest/Y/lang/en/CID/1/BID/429/EID/12/RID/1023456
But
example.com/index.php/survey/index/sid/689956/newtest/Y/lang/en?CID=1&BID=429&EID=12&RID=1023456
too.

And if you try to manage route url, even:
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 3 years 3 weeks ago by DenisChenu.
The following user(s) said Thank You: Kevin01

Please Log in to join the conversation.

More
3 years 2 weeks ago - 3 years 2 weeks ago #114820 by Kevin01
Kevin01 replied the 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.

File Attachment:

File Name: Survey_How..._URL.pdf
File Size:184 KB
Attachments:
Last Edit: 3 years 2 weeks ago by Kevin01.
The following user(s) said Thank You: optiopay

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!