SurveyJS v2.0.0
Released: February xx, 2025
Breaking Changes
Form Library removes APIs for integration with SurveyJS Demo Service
In previous versions, SurveyJS Form Library included API properties, methods, and events that allowed you to integrate it with SurveyJS Demo Service. Those API members are listed below:
surveyId
surveyPostId
clientId
surveyShowDataSaving
sendResult()
getResult()
loadSurveyFromService()
onSendResult
onGetResult
onLoadedSurveyFromService
settings.web.surveyServiceUrl
settings.surveyServiceUrl
SurveyJS v2.0 has those API members removed. This change was needed to maintain security across SurveyJS products since the link to the external service in our source code was a point of concern for some of our customers.
You can continue using SurveyJS Demo Service with a self-hosted Form Library without those API members. To do this, implement functions that query SurveyJS servers for survey JSON schemas and survey results. Refer to the following demos for more information:
Form Library: Load a Survey from SurveyJS Demo Service
Survey Creator: Load a Survey from SurveyJS Demo Service
Dashboard: Visualize Survey Data from SurveyJS Demo Service
Please be advised not to use SurveyJS Demo Service in production code. Since its main purpose is to demonstrate what you can build with SurveyJS products, the demo service guarantees neither 24/7 uptime nor full data retention. For your real-world application, we strongly recommend storing survey results and JSON schemas in your own database.