SurveyManager.createSurvey(...) The survey will be empty, with just the survey id set. Survey attributes must then be set, and stored with the updateSurvey() method.
Which survey attributes are supposed to be set? I have noticed that when creating a survey through the API and creating a survey through the UI, the following attributes are not set for the survey created through the API upon examination of hte ops_surveyattribute table
back txt CSS URL finish txt footer next txt save txt start txt store opdata survey heading survey template name thank you
Is there a list of attributes that should be defined? How does i18n factor into setting the attributes? Is there a general procedure for creating a survey (anything else that we should be aware of)?
Those worked, thanks! The two that didn't "take" were "survey template name" and "store opdata". The method survey.setAttribute(name, value) was used, but I don't believe this is right. Which methods should be called for these?
The others had actual method calls, like setBackButtonText(...).