Server User Guides > Interviewer - Server > Build > Creating and installing shared templates > Referring to external files in a shared template file
 
Referring to external files in a shared template file
When you want to refer to a different template from within the current template (typically, when you want to refer to a grid template) you can refer to that template using just its filename. For example:
<mrGridFormat1="DefaultGridTemplate.xml">
names a grid template associated with the current template.
You cannot refer to stylesheets or image files using simple filenames. Instead, do one of the following:
Enter the full URL for the file and then make sure that you install the file in the location you have specified.
Precede the filename with /%image cache url%/; for example:
<link rel="stylesheet" type="text/css" href="/%image cache url%/Summer.css">
Build replaces /%image cache url%/ with the URL of the image cache so that the interviewing program will be able to load the file from the image cache.
See also
Creating and installing shared templates