Welcome to the LimeSurvey Community Forum

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

Import question using LImeSurvey API

More
1 year 4 months ago #261133 by nitish_kumar
Hey all,

I need some help regarding import questions in the survey through API. It would be great if someone could share the sample for the API. 

 

Please Log in to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #261136 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 1 year 4 months ago by DenisChenu. Reason: https://stackoverflow.com/help/how-to-ask

Please Log in to join the conversation.

More
1 year 4 months ago #261140 by nitish_kumar
I appreciate your reply. I've implemented the "import_question" method that you suggested, but I don't know how to construct the "lsq" file that it demands as an argument.

Can you please assist me here?

Please Log in to join the conversation.

More
1 year 4 months ago #261180 by DenisChenu
You can export such lsq file from any limesurvey, think it's the best solution (dobne for this)
Your write import question
Else you have set_question_properties

And PLEASE ! AGAIN : stackoverflow.com/help/how-to-ask

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
1 year 4 months ago #261514 by nitish_kumar
I want to import custom questions in my survey and for that, I need to create a. lsq file. I don't have any Idea how to create one

Can you please share a link or something about how to create a .lsq file?

Please Log in to join the conversation.

More
1 year 4 months ago #261516 by DenisChenu
Create your question in any LimeSurvey instance, export your question as lsq.
You have the file.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
1 year 4 months ago #261517 by nitish_kumar
Thanks @ DenisChenu  

Is there any API method for exporting question as an ISQ file?


Can you please assist me here?
 

Please Log in to join the conversation.

More
1 year 4 months ago #261597 by Joffm
There is a button in the GUI.
As this is question related you find it near the question in the structure tree.

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #262569 by DenisChenu
No API method

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 1 year 4 months ago by DenisChenu.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose