Welcome, Guest
Username: Password: Remember me

TOPIC: allow automatic token creation on private survey

allow automatic token creation on private survey 11 months 1 week 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: 11 months 1 week ago by neil_m.
The administrator has disabled public write access.

allow automatic token creation on private survey 11 months 1 week ago #102700

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4369
  • Thank you received: 828
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 11 months 1 week ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.136 seconds
Donation Image