allow automatic token creation on private survey

More
3 years 9 months ago - 3 years 9 months ago #102690 by neil_m
neil_m created the topic: allow automatic token creation on private survey
Hi Guys

Love the product

I want to integrate it into my helpdesk app. upon closing a ticket, I can construct a URL to link the User to the survey like
http://yourSurveySite.com/limesurvey/index.php?lang=en&sid=12345&token=||ticket_id||

My plan is to use the Ticket ID as the unique token ID, and I'm not overly concerned about repeat entries.

However, I don't have an easy way of integrating the information from the ticket into the token table.

My question is, can I format at URL so that the correct information to create the token entry is passed in the url, thereby registering the user into my private survey.
Last Edit: 3 years 9 months ago by neil_m.

Please Log in to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #102700 by tpartner
tpartner replied the topic: allow automatic token creation on private survey
Hi Neil,

If you're not overly concerned about about repeat entries, do you need to use tokens at all? Why not use an open survey and have the URL pre-fill a question with the "ticket_id" for tracking. Something like:
http://yourSurveySite.com/limesurvey/sid/1234/1234X43X123/||ticket_id||


Alternatively, you can look into the Remote Control API to create tokens - manual.limesurvey.org/RemoteControl_2_API


.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 3 years 9 months ago by tpartner.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now