Interviewer - Server > UNICOM Intelligence Interviewer activities in UNICOM Intelligence Interviewer Server - Admin > Build > Creating and installing shared templates > The shared and roles templates folders
 
The shared and roles templates folders
The shared templates folder is called FMRoot\Shared\Templates.
In it, the DataCollection subfolder contains templates for UNICOM Intelligence questionnaires written in the mrScriptBasic language. There are .htm files and some hidden subfolders whose names are the same as the .htm files, but with a _Files extension. For example, there is a DefaultTemplate.htm file and a hidden DefaultTemplate.htm_Files subfolder. DefaultTemplate.htm is the default presentation template and DefaultTemplate.htm_Files contains the files that the default template uses (in this case, the default grid template, DefaultGridTemplate.xml).
When you create a shared template that uses other templates, stylesheets, or images, you must create the .htm_Files folder in the Templates folder and copy all the files that the template uses into that folder.
When a questionnaire designer uses a shared template, Build looks for an associated .htm_Files folder for that template and copies the contents of that folder into the project folder with the chosen template file.
Build also recognizes templates that are available only to users belonging to a particular role. These templates are in FMRoot\Roles\RoleName\Templates (for example, FMRoot\Roles\SWGroup1\Templates for templates available only to members of the SWGroup1 role). These Templates folders are the same as the shared Templates folder in all respects.
See also
Creating and installing shared templates