[Include_Raw] inserts the specified format file into the current format file. No processing is performed on the included text.
Accepts a single parameter, the name of the format file to be included.
This tag can be used in concert with the [Content_Type] tag to serve files of different data types from within Lasso.
[Include_Raw] should be used with the -EncodeNone keyword in order to send the included data to the client's Web browser unencoded.
[Include_Raw: 'File Path']
[Include_Raw: 'File Path', -EncodeNone]
Use the [Content_Type] and [Include_Raw] tags. The following example uses the [Content_Type] tag to set the MIME type of the returned file to image/gif, the standard for GIF image files. The [Include_Raw] tag is then used to return the raw source of a file Picture.gif contained in the Images directory.
Notice that no white space is included between the two tags. Any stray characters will appear to be part of the GIF file and could cause problems.
[Content_Type: 'image/gif'][Include_Raw: '/Images/Picture.gif']
Tag Link | [Include_Raw] | Category | Include |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | Bytes | Security | Tag |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft