Skip to main content

GetAppConfig

Use this function to retrieve an app property value from a simple XML element in the .lvapp file, then return the value as a string. This function is specific to Longview Apps. Currently, retrieving nested elements such as <kars> is not supported.

Note: You cannot use the GetAppConfig function when running in batch mode.

Syntax:

GetAppConfig ("NameOfProperty")

where:

  • NameOfProperty is the name of the property whose value you wish to retrieve. This value is not case-sensitive. You can also retrieve the name of the App by setting this parameter to "name".

Syntax example:

Create Variable sValue as STRING

Set Variable sValue = GetAppConfig("description")

Show Message "The app description is $sValue$"

Was this article helpful?

We're sorry to hear that.