getEnabledLicenseFeature(licenseFeatureType): Boolean;
licenseFeatureType. String. Unit type.
The getEnabledLicenseFeature method returns information whether there is a license for the selected unit.
Available types of units can be obtained from the PP.AppConfig.Licenses property.
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: