Licensing Applets

The path of the license file should be set to the Applet with the msketch_param method using the "licenseFile" parameter.

Example:

<script LANGUAGE="JavaScript1.1" SRC="../../../marvin.js"></script>
<script LANGUAGE="JavaScript1.1">
<!--
msketch_begin("../../..", 540, 480); // arguments: codebase, width, heightmsketch_param("licenseFile", "https://www.yourserver.com/chemaxon/license.cxl");msketch_end();
//-->
</script>

Restrictions:

  • The licenses should have the "Server mode allowed" field

  • The value should start with http:// or https://