In This Topic
Licensing in XperienCentral is applied on the component level, therefore a plugin can contain many components, each of which has a different license. The components contained by the plugin are active or inactive depending on whether the appropriate license is available for the installation in which the plugin is deployed.
By default a component is not licensed. This means that the plugin containing the component can be uploaded to any XperienCentral installation without license issues. The default licensing model is triggered by providing the argument false as an input of the constructor of the component definition. The examples below illustrate how to create unlicensed components.
License a Component
To license a component, you must do two things:
- Register the licensed component with GX in order to generate a license file including a license for this component
- Indicate in the component definition that it is a licensed component by providing
trueas input argument of the constructor
The examples below illustrate how to create licensed components.
A Service component type is always unlicensed.