Welcome to the LimeSurvey Community Forum

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

import participant from external email and other datas

  • tboy
  • tboy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 10 months ago #153352 by tboy
Hello,
I would like to allow our customers to compile a standard survey already prepared.

This is what I would like to obtain:

the customer receives an email-invitation from a different source (our Erp) - so, no legacy at all with Limesurvey..
That email would contain
a) the url of my limersurvey' server and relative survey's ID (i.e http://mylimesurveyaddress/index.php/123456?lang=it )
b) a serial number (related to a specific support case)...

I would like to "import" the serial number in a specific/customized field of Limesurvey and the relative email address of the customer who received the email-invitation

Is there a way to pass datas to Limesurvey (email address of the customers , which should become a "participant" , and serial number)?
If my Erp send an email-invitation like this, or something "similar" : http://mylimesurveyaddress/index.php/123456?test@me.com?lang=it

where
123456 is the ID
test@me.com is the email address of the customers

there is a chance that works ?

Thanks a lot!

Thomas
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago #153365 by tpartner
See here for info on how to pre-fill survey elements - manual.limesurvey.org/Workarounds:_Surve...ling_survey_elements

Alternatively, you can use the RemoteControl 2 API to create tokens. Related post - www.limesurvey.org/forum/can-i-do-this-w...s-to-a-survey#149782

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • tboy
  • tboy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 10 months ago #153471 by tboy
Thank you very much...
I'm trying to pre-fill survey via external URL as you suggested..
Unless I use a "simple" text label , I'm able to pass something to the survey..
like
http://myserver/limesurvey//index.php/survey/index/sid/648749?Q1=test

but I can't pre-fill a multiple short text question in which I need to compile SQ001 and SQ002 (take a look on the attachment).
If I use something like
http://myserver/limesurvey//index.php/survey/index/sid/648749?648749X1X1SQ001=test&SQ002=blah
or
http://myserver/limesurvey//index.php/survey/index/sid/648749?T1Q1SQ001=test&SQ002=blah

(following the suggestions and examples from manual.limesurvey.org/URL_fields#Prefill...using_GET_parameters )

nothing happens.
Afetr that, is it possibile to inhibit the possibility to modify SQ001 and SQ002 ?

Thank you again...
Attachments:
The topic has been locked.
  • tboy
  • tboy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 10 months ago #153472 by tboy
don't look at the double "//" I've put on the link... if I remove it it doesn't work anymore..
The topic has been locked.
  • tboy
  • tboy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 10 months ago #154208 by tboy
any news for me ?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago - 6 years 10 months ago #154215 by tpartner
Judging by the attached screenshot, this should work:

Code:
http:/myserver/limesurvey/index.php/survey/index/sid/648749?648749X79X275SQ001=test&648749X79X275SQ002=blah

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 10 months ago by tpartner.
The following user(s) said Thank You: tboy
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose