- Posts: 11
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Have the assessment done externally and imported into Survey
- gaartsen
- Topic Author
- Offline
- New Member
Less
More
5 years 8 months ago #171607
by gaartsen
Have the assessment done externally and imported into Survey was created by gaartsen
Hi,
I am building a survey with several sections of questions. One particular section will need to be assessed by an external agency. They have an API that would take answers of hat section and perform their custom assessment. That same API can return the assessment as well.
Thanks in advance.
Gary
I am building a survey with several sections of questions. One particular section will need to be assessed by an external agency. They have an API that would take answers of hat section and perform their custom assessment. That same API can return the assessment as well.
- Is there a way this can be done by Lime Survey?
- Is there a way to import this as a separate survey into another survey?
- Is there a way at all to assess any survey externally?
Thanks in advance.
Gary
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
5 years 8 months ago #171616
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Have the assessment done externally and imported into Survey
The short answer is: Yes, this can be done. But it will take some programming.
It would take a brainstorm to get all specifications on the table, after that a project plan can be made.
The other short answer is: No, it cannot be done by LimeSurvey out of the box.
Tammo
It would take a brainstorm to get all specifications on the table, after that a project plan can be made.
The other short answer is: No, it cannot be done by LimeSurvey out of the box.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- gaartsen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
5 years 8 months ago #171617
by gaartsen
Replied by gaartsen on topic Have the assessment done externally and imported into Survey
Thank you Tammo.
I am a PHP programmer, so I could have a quick look. Any pointers to relevant classes etc would be helpful.
I am a PHP programmer, so I could have a quick look. Any pointers to relevant classes etc would be helpful.
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
5 years 8 months ago #171618
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Have the assessment done externally and imported into Survey
I guess I would start using the Remote Control API:
manual.limesurvey.org/RemoteControl_2_API
which could make the part that needs assessing available for the other API of the assessing organization.
Tammo
which could make the part that needs assessing available for the other API of the assessing organization.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: gaartsen
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 8 months ago #171645
by DenisChenu
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.
Replied by DenisChenu on topic Have the assessment done externally and imported into Survey
I think : LimeSurvey must send information to external API, and get this information in Survey, right ?
Then : seems best to use LimeSurvey plugin.
If the update of the survey with the value of API can be done after survey is submitted : use manual.limesurvey.org/AfterSurveyComplete
If the update of the survey must be done during survey : best seems to use beforeQuestionRender : manual.limesurvey.org/BeforeQuestionRender
Idea example :
1. create a short text question, hidden to get the value of the API
2. in beforeQuestionRender : test the gid value
3. If the gid value is the same than your 1st question : send request to the API with params and fill the value
You need to use Response model (or SurveyDynamic) : github.com/LimeSurvey/LimeSurvey/blob/ma.../models/Response.php
You can copy some code from gitlab.com/SondagesPro/ExportAndStats/ge...Question/tree/master
Then : seems best to use LimeSurvey plugin.
If the update of the survey with the value of API can be done after survey is submitted : use manual.limesurvey.org/AfterSurveyComplete
If the update of the survey must be done during survey : best seems to use beforeQuestionRender : manual.limesurvey.org/BeforeQuestionRender
Idea example :
1. create a short text question, hidden to get the value of the API
2. in beforeQuestionRender : test the gid value
3. If the gid value is the same than your 1st question : send request to the API with params and fill the value
You need to use Response model (or SurveyDynamic) : github.com/LimeSurvey/LimeSurvey/blob/ma.../models/Response.php
You can copy some code from gitlab.com/SondagesPro/ExportAndStats/ge...Question/tree/master
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.
The following user(s) said Thank You: gaartsen
The topic has been locked.
- gaartsen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
5 years 8 months ago #171664
by gaartsen
Replied by gaartsen on topic Have the assessment done externally and imported into Survey
Thank you again. I will have a look.
The topic has been locked.