LibPath

<< Click to Display Table of Contents >>

Navigation:  IWCL > IntraWeb Library Loader > Parameters >

LibPath

Type: String

 

Default: same directory as IntraWeb.js

 

Description:

Specifies the path to additional IWCL libraries and runtime scripts, in case they are located in a different folder than IntraWeb.js.

 

This is useful when you want to serve shared libraries from a central location or separate them from the main app.

 

Usage Notes:

If not specified, all required libraries are expected to be located in the same folder as IntraWeb.js.

 

Example usage:

 

<script src="/src/IntraWeb.js" data-Source="/demo/Index.iwml" data-LibPath="/shared/IWLibs/"></script>

 

In this case, although IntraWeb.js is loaded from /src/, all other necessary files will be loaded from /shared/IWLibs/.