setting the MarvinSketch applets initial configuration

User 173254b396

07-02-2008 09:45:35

Hi,





Is there a parameter to set the applet's initial configuration (e.g.: Marvin Classic)? If there is what are the available values?





Thanks, Péter

ChemAxon 909aee4527

07-02-2008 12:13:44

Hi Peter,





yes, you have to create a configuration file, and use the following applet parameter:


Code:
msketch_param("menuconfig", "http://example-server.org/marvin/configuration.xml");






The content of the configuration file can be for example:


Code:
<?xml version="1.0" encoding="UTF-8"?>


<customization active="config1">


</customization>






The available pre-defined values are:


Marvin: default


Classic Marvin: classic


ISIS/Draw-like: config1


ChemDraw-like: config2





The related documentation can be found here:


http://www.chemaxon.com/marvin/help/sketch/gui/customization_server_side.html





Kind regards,


Judit