Click or drag to resize
Askia

ISurvey Methods

The ISurvey type exposes the following members.

Methods
  NameDescription
Public methodApplyTheme
Applies the given theme
Public methodCheckAll
Checks all the survey
Public methodCheckElementsStructure
Checks the integrity of the elements structure
Public methodCheckQuestionsStructure
Checks the integrity of the questions structure
Public methodCheckResourceFileLocationAlreadyExist
Checks if the given resource file location already exist
Public methodCheckRoutings
Checks the routings
Public methodCompileScript(RoutingActionType, String)
Compiles an Askia script.
Public methodCompileScript(RoutingConditionType, String)
Compiles an Askia script.
Public methodCopyAsQuestionsTemplate
Copies the current survey as a questions Template
Public methodCopyAsSurveyTemplate
Copies the current survey as a survey Template
Public methodCreateConditionFromScript
Creates an assisted condition given a script.
Public methodCreateInterview
Creates an interview from this survey
Public methodCreateInterview(Int32)
Creates an interview from this survey
Public methodCreateScriptFromCondition
Creates a script given an assisted condition.
Public methodCreateSubSurveyForScreen
Creates a sub-survey for the variables in the page element.
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodExtractResources
Extract resources to their appropriate location ResourcesPath
Public methodFindResponse
Retrieve a response from within the questions of the survey given its id
Public methodFindResponses
Retrieve responses from within the questions of the survey given their ids
Public methodGetMessages
Returns a collection of the messages for the current language
Public methodIndentQuestions
Indent questions
Public methodInsertFromQuestionsTemplate
Insert questions from a given template to a specific destination
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodLoadFromXML
Reads from memory in XML format
Public methodLoadFromXMLFile
Reads from file in XML format
Public methodLoadInterview
Loads a specific interview
Public methodMergeQuestionPages
Merge questions from the given id's range into the same page
Public methodMoveElement
Move element to a given destination
Public methodMoveQuestions
Move questions to a given destination
Public methodMoveRoutings
Move routings to a given destination
Public methodReadFromExchangeFormat(Byte)
Reads from file in exchange format (.qex)
Public methodReadFromExchangeFormat(String)
Reads from file in exchange format (.qex)
Public methodReadFromExchangeFormat(String, String)
Reads from file in exchange format (.qex)
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodResetResourcePath
Empties the Live and test path so it works in a published survey
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodRunScript
Runs an Askia script
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Public methodSaveAll
Saves all the survey recursively
Public methodSaveRoutings
Saves a batch of routings in one go, all or nothing.
Public methodSaveToExchangeFormat(Byte)
Saves to memory in exchange format
Public methodSaveToExchangeFormat(String)
Saves to file in exchange format (.qex)
Public methodSaveToExchangeFormat(String, String)
Saves to file in exchange format (.qex)
Public methodSaveToXML
Saves to memory in XML format
Public methodSaveToXMLFile
Saves to file in XML format
Public methodSetDefaultLanguage
Set the default language ID for the whole survey
Public methodSetDefaultPageTemplate
Set the default pages template id for the whole survey
Public methodSetName
Sets the name of the survey
(Inherited from ISurveyInformation.)
Public methodSplitQuestionPages
Split merged questions from the given id's range
Public methodTestCode
Internal debug function
Public methodTransformIntoQuestionsTemplate
Promotes the current survey to a questions Template
Public methodTransformIntoSurveyTemplate
Promotes the current survey to a survey Template
Public methodUnindentQuestions
Unindent questions
Public methodUpgrade
Upgrades survey to latest version
Top
See Also