Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: allow automatic token creation on private survey

allow automatic token creation on private survey 2 years 11 months ago #102690

  • neil_m
  • neil_m's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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: 2 years 11 months ago by neil_m.
The administrator has disabled public write access.

allow automatic token creation on private survey 2 years 11 months ago #102700

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6570
  • Thank you received: 1477
  • Karma: 579
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: 2 years 11 months ago by tpartner.
The administrator has disabled public write access.
Time to create page: 0.195 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form