Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include LimeSurvey Questionnaire into the Study-Export #247

Open
ja-fra opened this issue Apr 24, 2024 · 1 comment
Open

Include LimeSurvey Questionnaire into the Study-Export #247

ja-fra opened this issue Apr 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ja-fra
Copy link
Member

ja-fra commented Apr 24, 2024

Currently, when exporting a study configuration, the dump only includes the external id of a LimeSurvey questionnaire.
When importing, this link is either broken or points to a questionnaire already used in a different study.

  • The export should also include the LimeSurvey-Configuration (questionnaire including the questions, but not the responses)
  • Upon import, the questionnaire from the dump should be created in LimeSurvey

Open Questions:

  • Questionnaires in LimeSurvey can contain uploaded files (e.g. images). Should these be included in the export?
  • Since LimeSurvey is an external service, setting the correct access permissions for the new questionnaire could be tricky.

Follow-Up from #191

@benitsch
Copy link
Contributor

Analyse outcome:
Currently in the lime survey RemoteControl 2 API, there is an "import_survey" endpoint (allowed format lss, csv, txt or lsa), but no "export_survey" endpoint. This feature is needed for other people as well, therefore someone already created a PR (see: LimeSurvey/LimeSurvey#3538). As a workaround maybe it's possible to download all necessary survey information over different API endpoints (work with what's available) and create a new survey with the "add_survey (Add an empty survey with minimum details)" endpoint and add all necessary information afterwards over other endpoints.

Within the Web interface, an import and export is easily possible, but not now for the API. I would recommend to wait until a suitable endpoints is available to easily import/export a survey over the API, otherwise the effort is not worth, because as mentioned in the web interface it's possible without any problem.

@benitsch benitsch removed their assignment Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants