KitchenDraw SDK 2
Show / Hide Table of Contents

Method EvalWebManagerJavaScript

EvalWebManagerJavaScript(string)

Runs the Javascript code in the context of the Web management application displayed in KitchenDraw main area when no scene is open.

Declaration
public void EvalWebManagerJavaScript(string jsCode)
Parameters
Type Name Description
string jsCode

Javascript code to run.

Remarks

As a reminder, at start up KitchenDraw can create a window containing an Internet Explorer component pointing towards the URL of an on line business application defined in the SPACE.INI.

Thanks to this function, a plugin can have hand in the DOM of the Web page displayed in the window or execute JavaScript functions belonging to the Web management application.

For example, it is by this means that it would be possible to send data of the current scene towards the Web management application each time the scene is saved.

In this article
Back to top Generated by DocFX