Welcome to the LimeSurvey Community Forum

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

Import question using LImeSurvey API

  • nitish_kumar
  • nitish_kumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #261133 by nitish_kumar
Import question using LImeSurvey API was created 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.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 2 days ago - 1 week 2 days ago #261136 by DenisChenu
Replied by DenisChenu on topic Import question using LImeSurvey API

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 1 week 2 days ago by DenisChenu. Reason: https://stackoverflow.com/help/how-to-ask

Please Log in to join the conversation.

  • nitish_kumar
  • nitish_kumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #261140 by nitish_kumar
Replied by nitish_kumar on topic Import question using LImeSurvey API
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.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 2 days ago #261180 by DenisChenu
Replied by DenisChenu on topic Import question using LImeSurvey API
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 service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • nitish_kumar
  • nitish_kumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 22 hours ago #261514 by nitish_kumar
Replied by nitish_kumar on topic Import question using LImeSurvey API
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.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 22 hours ago #261516 by DenisChenu
Replied by DenisChenu on topic Import question using LImeSurvey API
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 service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • nitish_kumar
  • nitish_kumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 22 hours ago #261517 by nitish_kumar
Replied by nitish_kumar on topic Import question using LImeSurvey API
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.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 18 hours ago #261597 by Joffm
Replied by Joffm on topic Import question using LImeSurvey API
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.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 days 13 minutes ago - 5 days 12 minutes ago #262569 by DenisChenu
Replied by DenisChenu on topic Import question using LImeSurvey API
No API method

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 days 12 minutes ago by DenisChenu.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose