Returns information from a config file

Syntax

Smartsite SXML CopyCode image Copy Code
string site.config.getvalue(string configFileLocation, string path)

Parameters

Name Data Type Description
configFileLocation String The location of the config file.
path String XPath location of the desired information in the config file. Use the prefix c: for the .NetConfiguration namespace.

Return Value

Data Type Description
String The string value located at the given XPath location

Expand image Examples

SXML