Welcome, Guest
Username: Password: Remember me

TOPIC: allow automatic token creation on private survey

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

allow automatic token creation on private survey 3 months 3 weeks ago #102700

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 327
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: 3 months 3 weeks ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.189 seconds
Donation Image