How to pass external variable to LimeSurvey

More
11 months 4 days ago #144675 by maazbaig1234
maazbaig1234 created the topic: How to pass external variable to LimeSurvey
We have two database

1) Employee Database
2) Lime survey internal database - which store survey responses and other configuration

I want to pass and pre-fill Employee ID and it's basic information from Employee database to Lime Survey questionnaire page of Survey

Please Log in to join the conversation.

More
11 months 4 days ago #144687 by holch
holch replied the topic: How to pass external variable to LimeSurvey
There are quite a few examples on how to pass on variables via the URL in the forum.

In the manual, have a look at panel integration. This should work for you.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
11 months 4 days ago #144689 by maazbaig1234
maazbaig1234 replied the topic: How to pass external variable to LimeSurvey
Thanks ..
One more question, I also want to integrate Lime Survey with Active Directory.

The below solution is in my mind. Please let me know if there is any architecture issue

1) Create separate web application through which employee login using it NT Login.
2) After logged in , query database to get employee information
3) Open survey link in Iframe and bind the employee information with Survey URL using above mentioned method
4) Display Employee information on survey in read-only fields

Please Log in to join the conversation.

More
11 months 4 days ago #144691 by holch
holch replied the topic: How to pass external variable to LimeSurvey
This is a completely different question. Please open a new question.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
10 months 4 weeks ago #144908 by maazbaig1234
maazbaig1234 replied the topic: How to pass external variable to LimeSurvey
I have followed the below link.

manual.limesurvey.org/URL_fields#Prefill...using_GET_parameters

But sometime it works or sometime not.

Please Log in to join the conversation.

More
10 months 4 weeks ago #144911 by holch
holch replied the topic: How to pass external variable to LimeSurvey
You linked to the description for LS 1.92 or older. Do you really use such an old version?

Or did you try this: manual.limesurvey.org/URL_fields#Passthr...rvey_2.x_or_later.29 :

Here is some further info on panel integration which might be helpful:
manual.limesurvey.org/Survey_settings#Pa....28URL_parameters.29

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
10 months 4 weeks ago #144912 by maazbaig1234
maazbaig1234 replied the topic: How to pass external variable to LimeSurvey
I have tried the below mentioned link

manual.limesurvey.org/URL_fields#Passthr...rvey_2.x_or_later.29:

Please Log in to join the conversation.

More
10 months 3 weeks ago #145090 by DenisChenu
DenisChenu replied the topic: How to pass external variable to LimeSurvey

maazbaig1234 wrote: ....
But sometime it works or sometime not.

Because we don't update an already started survey except if you add newtest=Y to the url.

You can see this information at Hint#2 .

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now