Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

allow automatic token creation on private survey

  • neil_m
  • neil_m's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 months ago - 10 years 3 months ago #102690 by neil_m
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
Code:
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: 10 years 3 months ago by neil_m.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 3 months ago - 10 years 3 months ago #102700 by tpartner
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:
Code:
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: 10 years 3 months ago by tpartner.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose