Assign an installed theme to a survey
limesurvey_assign_survey_themeAssign an already imported LimeSurvey survey theme: read the current template (previous_theme), set the new one through set_survey_properties, and read it back with get_survey_properties.
Instructions
Assign an already imported LimeSurvey survey theme: read the current template (previous_theme), set the new one through set_survey_properties, and read it back with get_survey_properties. theme_name is the installed name (for a generated package its installed_theme_name, such as acme_feedback-100-ls7). LimeSurvey answers {"template": true} even when it keeps another theme; a different read-back value, or a refused save ({"template": false}), fails with THEME_NOT_APPLIED; a failed or empty read-back with THEME_NOT_VERIFIED (written: true); an unreadable previous theme with THEME_PREVIOUS_UNKNOWN (written: false). Results and THEME_NOT_APPLIED name previous_theme and changed. inherit is refused; set it with limesurvey_set_survey_properties or in the admin interface. This does not upload or install the theme package.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| survey_id | Yes | ||
| theme_name | Yes | Installed LimeSurvey theme name as shown in the theme list, for example acme_feedback-100-ls7 (installed_theme_name of limesurvey_generate_survey_theme) or a core theme such as vanilla. | |
| confirm_theme_assignment | Yes | Required acknowledgement that the survey appearance will change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| workflow | Yes |