Config Object
The Config object provides access to the SiteKiosk configuration.
Members Table
The following table lists the members provided by the Config object.
|
Objects |
Description |
StartPage |
Startpage configuration. |
XMLDocument |
IXMLDOMDocument object of the configuration xml file. |
|
Properties |
Description |
Path |
Absolute path of the currently used configuration file. |
|
Methods |
Description |
ExpandPathVariables |
Expands a string's path (and system) variables. |
GeneralizePath |
Generalizes a string containing paths. |
|
Remarks
This object is available through the main object SiteKiosk.
Use the Config object to read the configuration file data.
Note that the path of a file using SiteKiosk objects must be allowed in the
SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
if it is not a browser skin file.
Examples
The following example shows the path of the currently used configuration file.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
alert(SiteKiosk.Config.Path);
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top