Interactive libraries in Design 5.4

Interactive libraries in Design 5.4

Summary As a research institute, you often come up with innovative methodologies and mind-blowing surveys. These forward-thinking surveys slowly become your trademark, and represent the edge you keep over competition. Flagship surveys should be easy to re-implement, as templates.
Design 5.4 is packed with automation-oriented features, and this is one of them.
This feature allows the insertion of special keywords in the long caption of a question inside the library to create interactive libraries.
Applies to askiadesign 5.4.4 and above
Written for Scriptwriters and survey authors
Keywords design; askiadesign; library; template; automatic; generation; survey; 


Saving an example interactive library file

This .qex file contains a small interactive library template. With the very same template, you can produce 2 questionnaires that will have a similar structure, but totally different question, all that within seconds.

  1. Download the example .qex
  2. Open the example .qex in Design 5.4.4 and above
  3. Select all questions from the question tree on the left, then right click and select "add to the local library".
  4. Give it a name. You can now re-use this template to produce new surveys.

Using an example interactive library

  1. Open a blank questionnaire
  2. Open from the toolbar icon 
  3. Drag and drop your library item into the question tree on the left
  4. Answer the wizard's questions


Output example 1 : beverage scenario


Output example 2 : bank scenario



Now, create your own generic template 

Syntax recap

Syntax Used in Example Description
##Variable_Name|Wizard_description## Long caption, short caption, ADC properties, response caption ##productype|Please enter your product type...## Makes a caption interactive. The wizard will ask the survey scripter to set the value of "productype". It will then be replaced throughout the questionnaire.
##Variable_Name## Long caption, short caption, ADC properties, response caption How well do you know the ##productype## product ? Re-use an interactive caption throughout the questionnaire.
@@List_items|Wizard_description@@ Response caption @@brandlist|please enter a list of brands@@ Makes a list of items interactive. The wizard will prompt the survey scripter to fill in a list of items, which can then be re-used throughout the questionnaire.
@@List_items@@ Response caption @@brandlist@@ Re-use a list of items.
@@Name|LongMessage|Options|ShortMessage|TypeOfImport|connectionstring|query@@ Response caption (5.4.9 minimum)  @@brandlist|Insert list of brands|||database|Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Askia\Suite5490\BrandList.xlsx;Extended Properties="Excel 12.0 Xml;HDR=YES"|SELECT Brand,ID,Country FROM [Sheet1$] WHERE Country="##Country##" Order by Brand@@ 

Import a list of brands and corresponding entry codes from an external database or xlsx. (

The first field will be used for the name of the response, the second for the entry code and the third for a resource path 

##Scenario=scenario1;scenario2|Wizard_description## Shortcut caption, routing description ##productype=beer;juice|Select a scenario##

The wizard will ask the survey scripter to choose between scenario "beer" and "juice".


&&Scenario=scenario1&&Shortcut Shortcut caption &&productype=beer&&Beer_awareness The question "beer_awareness" will only be added in the questionnaire for the scenario "beer"
&&Scenario=scenario1&&Response Caption  Response caption &&productype=beer&&Corona The response "Corona" will only be added in the questionnaire in the list of responses for the scenario "beer" 
&&Scenario=scenario1&& Routing description &&productype=beer&& The routing will only be added to the questionnaire for the scenario "beer"
~~extensions|Wizard_description~~ Resources name ~~bmp;jpg;png|Please enter a logo for the brand~~

Makes a resource interactive. The wizard will prompt the survey scripter to select a resource to use.

The extensions need to be separated by ;... but you can also use "bitmap" or "video" or "audio" which will offer the correct filtering.

~~LongMessage|Extensions|ShortMessage|FilePath~~ LongCaption (5.4.9 minimum) ~~Survey file|qex|Survey:|C:\Askia\Suite5490\BrandTemplate.qex~~

Import a whole survey somewhere in a master template

Following the same process as the example, and using the syntax above, you can now add custom interactive items to your library.

Try it yourself

The first step is to open&nbsp;<span><b>Design</b></span>&nbsp;and create a new question

Use the following syntax to create an interactive keyword : &nbsp;<b>##Keyword|Instructions##</b>

Check this interactive syntax for a dynamic brand name

Now create a new question

Click <span class="component"><i><b>Q1_awareness</b></i></span>

You can now re-use the defined keyword ##Main_brand## in other question captions

Check the example

Right Click <span class=""><i><b>on your two questions</b></i></span>

Select&nbsp;<span class=""><i><b>Add to the local library...</b></i></span>

Type in <span class=""><i><b>Category:</b></i></span>&nbsp;to give it a name and Click <span class=""><i><b>OK</b></i></span>

Click <span class="component"><i><b>OK</b></i></span>

That's it. You have added an interactive keyword to your library

Have more questions? Submit a request