<< Click to Display Table of Contents >> Navigation: IWCL > IntraWeb Library Loader > Parameters > AllowDocParams |
Type: Boolean
Default: false
Description:
When set to true, this allows IWML documents to include their own parameter definitions inside the markup itself (such as via special meta-style declarations or IWML-level configuration).
By default, IWCL ignores parameters defined inside the IWML document, unless this flag is explicitly enabled.
Important:
The AllowDocParams flag cannot itself be set inside the IWML document, it must be provided in the HTML <script> tag.
Example usage:
<script src="/IntraWeb.js" data-Source="/Index.iwml" data-AllowDocParams="true"></script>
In this example, AllowDocParams is set to true, meaning that the IWML file loaded from /Index.iwml is now permitted to contain its own parameters or configuration entries.