PP.App.getEnabledLicenseFeature

Syntax

getEnabledLicenseFeature(licenseFeatureType): Boolean;

Parameters

licenseFeatureType. String. Unit type.

Description

The getEnabledLicenseFeature method returns information whether there is a license for the selected unit.

Comments

Available types of units can be obtained from the PP.AppConfig.Licenses property.

Example

To execute the example, start the web application. Enter the following code to the console:

// Determine whether there is a license for analytical queries
PP.App.getEnabledLicenseFeature("OLAP");
// -> true

After executing the example, information whether there is a license for analytical queries unit is displayed.

See also:

PP.App