Providing License Keys to Fluent Engines
.NET Engine
Runtime Injection
Report.ApplyLicenseKey(String licenseKey)
Calling this method before calling Report.Init()
will use the specified license key instead of whatever key is specified in the app.config file. Calling this method after the object instantiation will not apply the new license.
Manual Entry
The license key must be visible to the Report Engine when it starts. Your Report Engine license key should be entered into
- the
<app>.exe.config
file (where<app>
is the name of your embedding application) - the Web.config file of your embedding ASP.NET application
<WindwardReports>
<add key="license" value="enter your license key here" />
</WindwardReports>
Java Engine
Runtime Injection
ProcessReport.applyLicenseKey(String licenseKey)
Calling this method before instantiating the report object will use the specified license key instead of whatever key is specified in the windward.properties file. Calling this method after the object instantiation will not apply the new license.
Manual Entry
The key must be visible to the Report Engine when it starts. The Report Engine will look in the Java application properties for your application for the property ('license') with the license value. By default this is in the WindwardReports.properties file. However, you can use any appropriate means to insert the license key into your application's Java application properties.
# You need to enter your license on the line below. It is a ...
license= enter your license here
Java and .NET RESTful Engine
Runtime Injection
The process for runtime injection is the same between the two RESTful Engines. When making a post request to a RESTful server, you can specify the license key for your engine in the header. The key for the header is X-WINDWARD-LICENSE
, and the value would be your license key.
Manual Entry
.NET RESTful Engine
The license key must be visible to the Report Engine when it starts. Your Report Engine license key should be entered into the Web.config file in your Report Engine IIS website's home directory.
<WindwardReports>
<add key="license" value="enter your license here" />
</WindwardReports
JAVA RESTful Engine
The license key must be visible to the Report Engine when it starts. Your Report Engine license key should be entered into the WindwardReports.properties file in the /opt/apache-tomcat-9.0.39/webapps/ROOT/WEB-INF/classes
directory. The entry will look like the Java engine key entry above.