Import Tag Tutorial
The Import tag allows you to insert the content of an external file into your template.
When you use an Import tag for this purpose, set the Source to File.
Tutorial
The embedded document may be an image, a text file, a PDF file, or any another template. For example, you might want to import a cover sheet or company logo.
Your data source must contain the location (either a URL or file path) of the content to import, not the actual content itself. For example, with HTML and images, the actual HTML tags or image must not be in the data source. If the actual content is in the data source, you would use the out tag instead.
The key thing to keep in mind is that you are importing the actual content of the external file into your report. Therefore your import tag must point to the datasource value with the specified external file’s path or URL (eg: “C:\users\smithj\documents\filename” or “http://www.sitename.com/filename”)
For this example we will import a company logo from the images.xml datasource.
- Open the Tag Builder and then click Import.
- Click the Select tab.
Ensure you have the correct data source then click and drag your intended import into the select drop box.
Evaluate the tag making sure nothing went wrong and then save the tag.